|
|
|
@ -20,8 +20,10 @@ namespace Tiobon.Core.Model.Models |
|
|
|
|
/// Default: |
|
|
|
|
/// Nullable:False |
|
|
|
|
/// </summary> |
|
|
|
|
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)] |
|
|
|
|
public int Id { get; set; } |
|
|
|
|
//[SugarColumn(IsNullable = false, IsPrimaryKey = true, IsIdentity = false)] |
|
|
|
|
//public long Id { get; set; } |
|
|
|
|
[SugarColumn(IsPrimaryKey = true)]//long类型的主键会自动赋值 |
|
|
|
|
public long Id { get; set; } |
|
|
|
|
/// <summary> |
|
|
|
|
/// Desc: |
|
|
|
|
/// Default: |
|
|
|
|