using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
///
/// 标签打印
///
[SugarTable("PrintLabel","标签打印")]
public class PrintLabel : EntityTenant
{
///
/// 打印模板ID
///
[Required]
[SugarColumn(ColumnName = "TemplateId", ColumnDescription = "打印模板ID")]
public long TemplateId { get; set; }
///
/// 收货数量
///
[Required]
[SugarColumn(ColumnName = "Count", ColumnDescription = "收货数量")]
public int Count { get; set; }
///
/// 单位
///
[Required]
[SugarColumn(ColumnName = "Unit", ColumnDescription = "单位", Length = 32)]
public string Unit { get; set; }
///
/// 标签数量
///
[SugarColumn(ColumnName = "LabelCount", ColumnDescription = "标签数量")]
public int? LabelCount { get; set; }
///
/// 标准包装数量
///
[SugarColumn(ColumnName = "PackageCount", ColumnDescription = "标准包装数量")]
public int? PackageCount { get; set; }
///
/// 包装单位
///
[Required]
[SugarColumn(ColumnName = "PackageUnit", ColumnDescription = "包装单位", Length = 32)]
public string PackageUnit { get; set; }
///
/// 生产日期
///
[Required]
[SugarColumn(ColumnName = "ProductDate", ColumnDescription = "生产日期")]
public DateTime ProductDate { get; set; }
///
/// 失效日期
///
[Required]
[SugarColumn(ColumnName = "EndDate", ColumnDescription = "失效日期")]
public DateTime EndDate { get; set; }
///
/// 批次
///
[SugarColumn(ColumnName = "Batch", ColumnDescription = "批次")]
public int? Batch { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 32)]
public string? Remarks { get; set; }
}