2024-03-20 02:37:36 +00:00
|
|
|
|
using Admin.NET.Core;
|
|
|
|
|
namespace Admin.NET.Application.Entity;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 码包配置
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("CodePakageConfiguration","码包配置")]
|
|
|
|
|
public class CodePakageConfiguration : EntityTenant
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 序号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "Index", ColumnDescription = "序号")]
|
|
|
|
|
public int? Index { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 码包配置名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "Name", ColumnDescription = "码包配置名称", Length = 32)]
|
|
|
|
|
public string? Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 条码类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CodeType", ColumnDescription = "条码类型", Length = 32)]
|
|
|
|
|
public string? CodeType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 条码类型ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CodeTypeId", ColumnDescription = "条码类型ID")]
|
|
|
|
|
public long? CodeTypeId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 导出格式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ExportFormat", ColumnDescription = "导出格式")]
|
2024-05-24 10:22:01 +00:00
|
|
|
|
public string? ExportFormat { get; set; }
|
2024-03-20 02:37:36 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 条码前缀
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CodePrefix", ColumnDescription = "条码前缀", Length = 32)]
|
|
|
|
|
public string? CodePrefix { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 内码前缀
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "InternalCodePrefix", ColumnDescription = "内码前缀", Length = 32)]
|
|
|
|
|
public string? InternalCodePrefix { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 导出格式示例
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ExportFormatExample", ColumnDescription = "导出格式示例", Length = 32)]
|
|
|
|
|
public string? ExportFormatExample { get; set; }
|
|
|
|
|
|
2024-05-24 10:22:01 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 条码长度
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required]
|
|
|
|
|
[SugarColumn(ColumnName = "CodeLength", ColumnDescription = "条码长度")]
|
|
|
|
|
public int CodeLength { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 后缀类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SuffixType", ColumnDescription = "后缀类型", Length = 32)]
|
|
|
|
|
public string? SuffixType { get; set; }
|
|
|
|
|
|
2024-03-20 02:37:36 +00:00
|
|
|
|
}
|