SqlSugar/Src/Asp.Net/SqliteTest/UnitTest/Models/Playground.cs

19 lines
436 B
C#
Raw Normal View History

2023-03-03 14:12:36 +08:00
using SqlSugar;
using System.Security.Principal;
namespace Test.Model
{
[SugarTable("PlaygroundA01")]
public class Playground
{
[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; }
}
}