using Admin.NET.Core; /* * @author : 您的名字 * @date : 2024/7/22下午5:49:24 * @desc : 打印记录 */ namespace Admin.NET.Application.Entity { /// /// 打印记录 /// [SugarTable("wms_record_print", "打印记录")] public class WmsRecordPrint : EntityBase { /// /// 打印类型 /// [Required] [SugarColumn(ColumnName = "PrintType", ColumnDescription = "打印类型")] public PrintTypeEnum PrintType { get; set; } /// /// 打印来源 /// [Required] [SugarColumn(ColumnName = "PrintSource", ColumnDescription = "打印来源")] public PrintSourceEnum PrintSource { get; set; } #region 打印内容 [SugarColumn(ColumnName = "PackageCode", ColumnDescription = "包装号", Length = 50)] public string PackageCode { get; set; } /// /// 销售合同单号 /// [SugarColumn(ColumnName = "Info4", ColumnDescription = "销售合同单号", Length = 60)] public string? Info4 { get; set; } /// /// 生产单号 /// [SugarColumn(ColumnName = "Info5", ColumnDescription = "生产单号", Length = 60)] public string? Info5 { get; set; } /// /// 第几包 /// [SugarColumn(ColumnName = "Info6", ColumnDescription = "第几包", Length = 60)] public string? Info6 { get; set; } /// /// 经销店名称 /// [SugarColumn(ColumnName = "Info7", ColumnDescription = "经销店名称", Length = 60)] public string? Info7 { get; set; } /// /// 产品名称 /// [SugarColumn(ColumnName = "Info8", ColumnDescription = "产品名称", Length = 60)] public string? Info8 { get; set; } /// /// 客户名称 /// [SugarColumn(ColumnName = "Info10", ColumnDescription = "客户名称", Length = 60)] public string? Info10 { get; set; } /// /// 自提or发货 /// [SugarColumn(ColumnName = "Info11", ColumnDescription = "自提or发货", Length = 60)] public string? Info11 { get; set; } /// /// 包装部件总数量 /// [SugarColumn(ColumnName = "Info12", ColumnDescription = "包装部件总数量", Length = 60)] public string? Info12 { get; set; } /// /// 包装面积 /// [SugarColumn(ColumnName = "Info13", ColumnDescription = "包装面积", Length = 60)] public string? Info13 { get; set; } /// /// 部件名称 /// [SugarColumn(ColumnName = "Info14", ColumnDescription = "部件名称", Length = 60)] public string? Info14 { get; set; } /// /// 部件数量 /// [SugarColumn(ColumnName = "Info15", ColumnDescription = "部件数量")] public int? Info15 { get; set; } /// /// 部件尺寸 /// [SugarColumn(ColumnName = "Info16", ColumnDescription = "部件尺寸", Length = 60)] public string? Info16 { get; set; } #endregion /// /// 打印张数 /// [Required] [SugarColumn(ColumnName = "PrintSheetNum", ColumnDescription = "打印张数")] public int PrintSheetNum { get; set; } = 1;//默认是1 /// /// 打印次数 /// [Required] [SugarColumn(ColumnName = "PrintNum", ColumnDescription = "打印次数")] public int PrintNum { get; set; } = 0;//默认是0 /// /// 打印状态 /// [Required] [SugarColumn(ColumnName = "PrintStatus", ColumnDescription = "打印状态")] public PrintStatuEnum PrintStatus { get; set; } = PrintStatuEnum.未打印; /// /// 是否允许打印 /// [Required] [SugarColumn(ColumnName = "IsAllowPrint", ColumnDescription = "是否允许打印")] public bool IsAllowPrint { get; set; } = true; /// /// 备注 /// [SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 255)] public string? Remarks { get; set; } } }