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