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.

48 lines
1.2 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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; }
}