Add unit test

This commit is contained in:
sunkaixuan
2023-03-03 14:12:36 +08:00
parent 85733a79a4
commit 2e3dd532bc
9 changed files with 209 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
using SqlSugar;
using System.Security.Principal;
namespace Test.Model
{
[SugarTable("RoomA01")]
public class Room
{
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
public int? Id { get; set; }
[SugarColumn(ColumnName = "Name")]
public string Name { get; set; }
[SugarColumn(ColumnName = "PId")]
public int? PId { get; set; }
}
}