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