mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-30 20:57:58 +08:00
19 lines
424 B
C#
19 lines
424 B
C#
![]() |
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; }
|
|||
|
}
|
|||
|
}
|