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

36 lines
995 B
C#
Raw Normal View History

2024-05-24 10:22:01 +00:00
using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
/// <summary>
/// 码元素
/// </summary>
2024-06-24 10:21:52 +00:00
[SugarTable("codeelement","码元素")]
2024-05-24 10:22:01 +00:00
public class CodeElement : EntityBase
{
/// <summary>
/// 码长度
/// </summary>
[Required]
[SugarColumn(ColumnName = "CodeLength", ColumnDescription = "码长度")]
public int CodeLength { get; set; }
/// <summary>
/// 码包名称
/// </summary>
[SugarColumn(ColumnName = "CodeName", ColumnDescription = "码包名称", Length = 32)]
public string? CodeName { get; set; }
/// <summary>
/// 导出格式示例
/// </summary>
[SugarColumn(ColumnName = "ExportFormatExample", ColumnDescription = "导出格式示例", Length = 32)]
public string? ExportFormatExample { get; set; }
2024-06-24 10:21:52 +00:00
/// <summary>
/// 单位组
/// </summary>
[SugarColumn(ColumnName = "UnitGroupId", ColumnDescription = "单位组")]
public long? UnitGroupId { get; set; }
2024-05-24 10:22:01 +00:00
}