using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace Admin.NET.Core
{
///
/// 系统字典值表
///
[SugarTable("sys_dict_data", "系统字典值表")]
[SqlSugarEntity]
public class SysDictData : EntityBase
{
///
/// 字典类型Id
///
[SugarColumn(ColumnDescription = "字典类型Id")]
public long DictTypeId { get; set; }
///
/// 值
///
[SugarColumn(ColumnDescription = "值", Length = 100)]
[Required, MaxLength(100)]
public string Value { get; set; }
///
/// 编码
///
[SugarColumn(ColumnDescription = "编码", Length = 50)]
[Required, MaxLength(50)]
public string Code { get; set; }
///
/// 排序
///
[SugarColumn(ColumnDescription = "排序")]
public int Order { get; set; }
///
/// 备注
///
[SugarColumn(ColumnDescription = "备注", Length = 100)]
[MaxLength(100)]
public string Remark { get; set; }
///
/// 状态
///
[SugarColumn(ColumnDescription = "状态")]
public StatusEnum Status { get; set; } = StatusEnum.Enable;
}
}