19 lines
458 B
C#
19 lines
458 B
C#
using SqlSugar;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Falcon.SugarApi.DatabaseDefinitions
|
|
{
|
|
/// <summary>
|
|
/// 数据表整数主键
|
|
/// </summary>
|
|
public class EntityIntId
|
|
{
|
|
/// <summary>
|
|
/// 主键 默认GUID 382c74c3-721d-4f34-80e5-57657b6cbc27
|
|
/// </summary>
|
|
[Key]
|
|
[SugarColumn(IsPrimaryKey = true,ColumnDescription = "主键")]
|
|
public int? Id { get; set; }
|
|
}
|
|
}
|