47 lines
1.3 KiB
C#
47 lines
1.3 KiB
C#
|
using Admin.NET.Core;
|
|||
|
namespace Admin.NET.Application.Entity;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 单据编码规则
|
|||
|
/// </summary>
|
|||
|
[SugarTable("CodeRuleByReceipt","单据编码规则")]
|
|||
|
public class CodeRuleByReceipt : EntityTenant
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 编码
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "CodeNum", ColumnDescription = "编码", Length = 32)]
|
|||
|
public string? CodeNum { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 名称
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 32)]
|
|||
|
public string? Name { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 前缀
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "Prefix", ColumnDescription = "前缀", Length = 32)]
|
|||
|
public string? Prefix { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 日期格式
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "DateFormat", ColumnDescription = "日期格式", Length = 32)]
|
|||
|
public string? DateFormat { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 流水号长度
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "SerialLength", ColumnDescription = "流水号长度")]
|
|||
|
public int? SerialLength { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 备注
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 64)]
|
|||
|
public string? Remarks { get; set; }
|
|||
|
|
|||
|
}
|