using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
///
/// 码包配置
///
[SugarTable("codepakageconfiguration","码包配置")]
public class CodePakageConfiguration : EntityTenant
{
///
/// 序号
///
[SugarColumn(ColumnName = "Index", ColumnDescription = "序号")]
public int? Index { get; set; }
///
/// 码包配置名称
///
[SugarColumn(ColumnName = "Name", ColumnDescription = "码包配置名称", Length = 32)]
public string? Name { get; set; }
///
/// 条码类型
///
[SugarColumn(ColumnName = "CodeType", ColumnDescription = "条码类型", Length = 32)]
public string? CodeType { get; set; }
///
/// 条码类型ID
///
[SugarColumn(ColumnName = "CodeTypeId", ColumnDescription = "条码类型ID")]
public long? CodeTypeId { get; set; }
///
/// 导出格式
///
[SugarColumn(ColumnName = "ExportFormat", ColumnDescription = "导出格式", Length = 255)]
public string? ExportFormat { get; set; }
///
/// 条码前缀
///
[SugarColumn(ColumnName = "CodePrefix", ColumnDescription = "条码前缀", Length = 64)]
public string? CodePrefix { get; set; }
///
/// 内码前缀
///
[SugarColumn(ColumnName = "InternalCodePrefix", ColumnDescription = "内码前缀", Length = 64)]
public string? InternalCodePrefix { get; set; }
///
/// 导出格式示例
///
[SugarColumn(ColumnName = "ExportFormatExample", ColumnDescription = "导出格式示例", Length = 64)]
public string? ExportFormatExample { get; set; }
///
/// 条码长度
///
[Required]
[SugarColumn(ColumnName = "CodeLength", ColumnDescription = "条码长度")]
public int CodeLength { get; set; }
///
/// 后缀类型
///
[SugarColumn(ColumnName = "SuffixType", ColumnDescription = "后缀类型", Length = 32)]
public string? SuffixType { get; set; }
///
/// 单位组
///
[SugarColumn(ColumnName = "UnitGroupId", ColumnDescription = "单位组")]
public long? UnitGroupId { get; set; }
}