|
|
|
|
using DS.Module.Core;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Sys.Dtos;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编码规则返回实体
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class SequenceRuleRes
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
/// <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>
|
|
|
|
|
/// 状态 0 启用 1 禁用
|
|
|
|
|
/// </summary>
|
|
|
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Note { get; set; } = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? OrderNo { get; set; } = 100;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
}
|