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