namespace Cis.Application.Sys;
///
/// 系统字典值表
///
[SugarTable("sys_dict_data", "系统字典值表")]
[Tenant(SysInfo.DbName)]
public class SysDictData : EntityBase
{
///
/// 字典类型Id
///
[SugarColumn(ColumnDescription = "字典类型Id")]
[Required]
public long SysDictTypeId { get; set; }
///
/// 名称
///
[SugarColumn(ColumnDescription = "名称", Length = 64)]
[Required, MaxLength(64)]
public string Name { get; set; }
///
/// 编码
///
[SugarColumn(ColumnDescription = "编码", Length = 64)]
[Required, MaxLength(64)]
public string Code { get; set; }
///
/// 值
///
[SugarColumn(ColumnDescription = "值", Length = 128)]
[Required, MaxLength(128)]
public string Value { get; set; }
///
/// 排序
///
[SugarColumn(ColumnDescription = "排序")]
[Required]
public int Order { get; set; }
///
/// 备注
///
[SugarColumn(ColumnDescription = "备注", Length = 128)]
[MaxLength(128)]
public string Remark { get; set; }
///
/// 状态
///
[SugarColumn(ColumnDescription = "状态")]
[Required]
public StatusEnum Status { get; set; } = StatusEnum.Enable;
}