using DS.Module.Core; using DS.Module.Core.Data; namespace DS.WMS.Core.Sys.Entity; /// /// 系统编码规则表 /// [SqlSugar.SugarTable("sys_sequence_rule","系统编码规则表")] public class SysSequenceRule : BaseTenantModel { /// /// 单据Id /// public long SequenceId { get; set; } /// /// 取规则类别,timestamp、const、number /// public string RuleType { get; set; } /// /// 规则参数,如 YYMMDD /// public string RuleValue { get; set; } /// /// 补齐方向,left或right /// public string PaddingSide { get; set; } /// /// 补齐宽度 /// public int PaddingWidth { get; set; } /// /// 填充字符 /// public string PaddingChar { get; set; } /// /// 状态 /// [SqlSugar.SugarColumn(ColumnDescription = "状态")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; /// /// 排序号 /// public string OrderNo { get; set; } }