using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
///
/// 码元素内容
///
[SugarTable("CodeElementProp","码元素内容")]
public class CodeElementProp : EntityBaseId
{
///
/// 码元素Id
///
[Required]
[SugarColumn(ColumnName = "CodeElementId", IsIdentity = false, ColumnDescription = "码元素Id", IsPrimaryKey = true)]
public long CodeElementId { get; set; }
///
/// 长度
///
[Required]
[SugarColumn(ColumnName = "Length", IsIdentity = false, ColumnDescription = "长度", IsPrimaryKey = true)]
public int Length { get; set; }
///
/// 序号
///
[SugarColumn(ColumnName = "Index", ColumnDescription = "序号")]
public int? Index { get; set; }
///
/// 码元素值
///
[SugarColumn(ColumnName = "CodeValue", ColumnDescription = "码元素值", Length = 32)]
public string? CodeValue { get; set; }
///
/// 产码规则
///
[SugarColumn(ColumnName = "CodeType", ColumnDescription = "产码规则", Length = 32)]
public string? CodeType { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "Remark", ColumnDescription = "备注", Length = 32)]
public string? Remark { get; set; }
}