This commit is contained in:
ky_sunl
2021-04-22 13:37:25 +00:00
parent 575a22954f
commit d1c9e5a71e
699 changed files with 1062425 additions and 40640 deletions

View File

@@ -0,0 +1,35 @@
using SqlSugar;
using System;
namespace Dilon.Application
{
/// <summary>
/// SqlSugar实体
/// </summary>
[SugarTable("Test", TableDescription = "我的业务表")]
public class Test
{
/// <summary>
/// 雪花Id
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public long Id { get; set; }
/// <summary>
/// 名称
/// </summary>
[SugarColumn(ColumnDataType = "Nvarchar(32)")]
public string Name { get; set; }
/// <summary>
/// 年龄
/// </summary>
public int Age { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTimeOffset CreateTime { get; set; }
}
}