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

77 lines
2.1 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>
[SugarTable("PrintLabel","标签打印")]
public class PrintLabel : EntityTenant
{
/// <summary>
/// 打印模板ID
/// </summary>
[Required]
[SugarColumn(ColumnName = "TemplateId", ColumnDescription = "打印模板ID")]
public long TemplateId { get; set; }
/// <summary>
/// 收货数量
/// </summary>
[Required]
[SugarColumn(ColumnName = "Count", ColumnDescription = "收货数量")]
public int Count { get; set; }
/// <summary>
/// 单位
/// </summary>
[Required]
[SugarColumn(ColumnName = "Unit", ColumnDescription = "单位", Length = 32)]
public string Unit { get; set; }
/// <summary>
/// 标签数量
/// </summary>
[SugarColumn(ColumnName = "LabelCount", ColumnDescription = "标签数量")]
public int? LabelCount { get; set; }
/// <summary>
/// 标准包装数量
/// </summary>
[SugarColumn(ColumnName = "PackageCount", ColumnDescription = "标准包装数量")]
public int? PackageCount { get; set; }
/// <summary>
/// 包装单位
/// </summary>
[Required]
[SugarColumn(ColumnName = "PackageUnit", ColumnDescription = "包装单位", Length = 32)]
public string PackageUnit { get; set; }
/// <summary>
/// 生产日期
/// </summary>
[Required]
[SugarColumn(ColumnName = "ProductDate", ColumnDescription = "生产日期")]
public DateTime ProductDate { get; set; }
/// <summary>
/// 失效日期
/// </summary>
[Required]
[SugarColumn(ColumnName = "EndDate", ColumnDescription = "失效日期")]
public DateTime EndDate { get; set; }
/// <summary>
/// 批次
/// </summary>
[SugarColumn(ColumnName = "Batch", ColumnDescription = "批次")]
public int? Batch { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 32)]
public string? Remarks { get; set; }
}