using SqlSugar; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace GDZZ.Core.Entity; /// /// 代码生成表 /// [SugarTable("sys_code_gen",TableDescription="代码生成表")] [Description("代码生成表")] public class SysCodeGen : DEntityBase { /// /// 作者姓名 /// [MaxLength(20)] [SugarColumn(ColumnDescription = "作者姓名",IsNullable =true)] public string AuthorName { get; set; } /// /// 是否移除表前缀 /// [MaxLength(5)] [SugarColumn(ColumnDescription = "是否移除表前缀",IsNullable = true)] public string TablePrefix { get; set; } /// /// 生成方式 /// [MaxLength(20)] [SugarColumn(ColumnDescription = "生成方式", IsNullable = true)] public string GenerateType { get; set; } /// /// 数据库表名 /// [MaxLength(64)] [SugarColumn(ColumnDescription = "数据库表名",IsNullable = true)] public string TableName { get; set; } /// /// 命名空间 /// [MaxLength(100)] [SugarColumn(ColumnDescription = "命名空间", IsNullable = true)] public string NameSpace { get; set; } /// /// 业务名 /// [MaxLength(100)] [SugarColumn(ColumnDescription = "业务名", IsNullable = true)] public string BusName { get; set; } /// /// 菜单应用分类(应用编码) /// [MaxLength(50)] [SugarColumn(ColumnDescription = "菜单应用分类", IsNullable = true)] public string MenuApplication { get; set; } /// /// 菜单编码 /// [SugarColumn(ColumnDescription = "菜单编码")] public long MenuPid { get; set; } }