|
|
|
using DS.Module.Core;
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Sys.Entity;
|
|
|
|
/// <summary>
|
|
|
|
/// 系统字典值表
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarTable("sys_dict_data")]
|
|
|
|
public class SysDictData : BaseModel<long>
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 字典类型Id
|
|
|
|
/// </summary>
|
|
|
|
public long TypeId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 字典类型
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.Navigate(SqlSugar.NavigateType.OneToOne, nameof(TypeId))]
|
|
|
|
public SysDictType Type { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 字典值
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarColumn(Length = 100, ColumnDescription = "字典值")]
|
|
|
|
public string Value { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 字典名称
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarColumn(Length = 50, ColumnDescription = "字典名称")]
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 字典名称(英文)
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarColumn(Length = 100, ColumnDescription = "字典名称(英文)", IsNullable = true)]
|
|
|
|
public string EnName { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 字典名称(俄文)
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarColumn(Length = 100, ColumnDescription = "字典名称(俄文)", IsNullable = true)]
|
|
|
|
public string RuName { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 字典名称(法文)
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarColumn(Length = 100, ColumnDescription = "字典名称(法文)", IsNullable = true)]
|
|
|
|
public string FrName { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 字典名称(西班牙文)
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarColumn(Length = 100, ColumnDescription = "字典名称(西班牙文)", IsNullable = true)]
|
|
|
|
public string EsName { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 字典名称(阿拉伯文)
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarColumn(Length = 100, ColumnDescription = "字典名称(阿拉伯文)", IsNullable = true)]
|
|
|
|
public string ArName { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 拓展字段
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarColumn(Length = 100, ColumnDescription = "拓展字段", IsNullable = true)]
|
|
|
|
public string ExpandValue { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 排序
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "排序")]
|
|
|
|
public int? OrderNo { get; set; } = 100;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 状态
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarColumn(ColumnDescription = "状态")]
|
|
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
|
|
|
|
|
|
}
|