From 81b106a1bfc225abcee1c9b5cfad64489e8cb24b Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 10 Dec 2022 15:07:12 +0800 Subject: Develop secret api. v23 --- .../CrupestApi.Commons.Tests/Crud/TestEntity.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docker/crupest-api/CrupestApi/CrupestApi.Commons.Tests/Crud/TestEntity.cs (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons.Tests/Crud/TestEntity.cs') diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Commons.Tests/Crud/TestEntity.cs b/docker/crupest-api/CrupestApi/CrupestApi.Commons.Tests/Crud/TestEntity.cs new file mode 100644 index 0000000..ca84d5a --- /dev/null +++ b/docker/crupest-api/CrupestApi/CrupestApi.Commons.Tests/Crud/TestEntity.cs @@ -0,0 +1,15 @@ +namespace CrupestApi.Commons.Crud.Tests; + +public class TestEntity +{ + [Column(NotNull = true)] + public string Name { get; set; } = default!; + + [Column(NotNull = true)] + public int Age { get; set; } + + [Column] + public float? Height { get; set; } + + public string NonColumn { get; set; } = "Not A Column"; +} -- cgit v1.2.3