优化代码生成模板

This commit is contained in:
不做码农
2021-11-28 15:20:00 +08:00
parent 8dc832cdbd
commit 9292396bb2
6 changed files with 63 additions and 22 deletions

View File

@@ -10,9 +10,9 @@ namespace ZR.Model.System.Generate
/// </summary>
[SqlSugar.SugarTable("gen_table_column")]
[SqlSugar.Tenant("0")]
public class GenTableColumn: SysBase
public class GenTableColumn : SysBase
{
[SqlSugar.SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
[SqlSugar.SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
public int ColumnId { get; set; }
public string ColumnName { get; set; }
[SqlSugar.SugarColumn(IsOnlyIgnoreUpdate = true)]
@@ -66,7 +66,7 @@ namespace ZR.Model.System.Generate
/// <summary>
/// 字典集合
/// </summary>
[SqlSugar.SugarColumn(IsIgnore = true)]
public List<SysDictData> DictDatas { get; set; }
//[SqlSugar.SugarColumn(IsIgnore = true)]
//public List<SysDictData> DictDatas { get; set; }
}
}