mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-24 04:53:45 +08:00
Add unit test
This commit is contained in:
18
Src/Asp.Net/SqliteTest/UnitTest/Models/Room.cs
Normal file
18
Src/Asp.Net/SqliteTest/UnitTest/Models/Room.cs
Normal 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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user