You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.8 KiB

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