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

78 lines
2.4 KiB
C#
Raw Normal View History

2024-03-20 02:37:36 +00:00
using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
/// <summary>
/// 码包配置
/// </summary>
2024-06-24 10:21:52 +00:00
[SugarTable("codepakageconfiguration","码包配置")]
2024-03-20 02:37:36 +00:00
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>
2024-06-24 10:21:52 +00:00
[SugarColumn(ColumnName = "ExportFormat", ColumnDescription = "导出格式", Length = 255)]
2024-05-24 10:22:01 +00:00
public string? ExportFormat { get; set; }
2024-03-20 02:37:36 +00:00
/// <summary>
/// 条码前缀
/// </summary>
2024-06-26 10:33:33 +00:00
[SugarColumn(ColumnName = "CodePrefix", ColumnDescription = "条码前缀", Length = 64)]
2024-03-20 02:37:36 +00:00
public string? CodePrefix { get; set; }
/// <summary>
/// 内码前缀
/// </summary>
2024-06-26 10:33:33 +00:00
[SugarColumn(ColumnName = "InternalCodePrefix", ColumnDescription = "内码前缀", Length = 64)]
2024-03-20 02:37:36 +00:00
public string? InternalCodePrefix { get; set; }
/// <summary>
/// 导出格式示例
/// </summary>
2024-06-26 10:33:33 +00:00
[SugarColumn(ColumnName = "ExportFormatExample", ColumnDescription = "导出格式示例", Length = 64)]
2024-03-20 02:37:36 +00:00
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-06-24 10:21:52 +00:00
/// <summary>
/// 单位组
/// </summary>
[SugarColumn(ColumnName = "UnitGroupId", ColumnDescription = "单位组")]
public long? UnitGroupId { get; set; }
2024-03-20 02:37:36 +00:00
}