using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
///
/// 码元素
///
[SugarTable("codeelement","码元素")]
public class CodeElement : EntityBase
{
///
/// 码长度
///
[Required]
[SugarColumn(ColumnName = "CodeLength", ColumnDescription = "码长度")]
public int CodeLength { get; set; }
///
/// 码包名称
///
[SugarColumn(ColumnName = "CodeName", ColumnDescription = "码包名称", Length = 32)]
public string? CodeName { get; set; }
///
/// 导出格式示例
///
[SugarColumn(ColumnName = "ExportFormatExample", ColumnDescription = "导出格式示例", Length = 32)]
public string? ExportFormatExample { get; set; }
///
/// 单位组
///
[SugarColumn(ColumnName = "UnitGroupId", ColumnDescription = "单位组")]
public long? UnitGroupId { get; set; }
}