DigitalFactory/Admin.NET/Admin.NET.Application/Entity/CodeRuleByInfomation.cs

47 lines
1.3 KiB
C#

using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
/// <summary>
/// 资料编码规则
/// </summary>
[SugarTable("CodeRuleByInfomation","资料编码规则")]
public class CodeRuleByInfomation : EntityTenant
{
/// <summary>
/// 名称
/// </summary>
[SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 32)]
public string? Name { get; set; }
/// <summary>
/// 编码
/// </summary>
[SugarColumn(ColumnName = "CodeNum", ColumnDescription = "编码", Length = 32)]
public string? CodeNum { get; set; }
/// <summary>
/// 前缀
/// </summary>
[SugarColumn(ColumnName = "Prefix", ColumnDescription = "前缀", Length = 32)]
public string? Prefix { get; set; }
/// <summary>
/// 后缀
/// </summary>
[SugarColumn(ColumnName = "Suffix", ColumnDescription = "后缀", Length = 32)]
public string? Suffix { 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; }
}