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