62 lines
1.5 KiB
C#
62 lines
1.5 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace ZR.Model.Dto
|
|
{
|
|
/// <summary>
|
|
/// 后道外箱标签打印发送消息模板
|
|
/// </summary>
|
|
public class QcBackEndPrintMqttEventDto
|
|
{
|
|
// btw文件路径
|
|
public string Path { get; set; } = "";
|
|
|
|
// 站点号
|
|
public string SiteNo { get; set; } = "";
|
|
|
|
// 识别内容名称(内部)
|
|
public string Name { get; set; } = "";
|
|
|
|
// 零件号
|
|
public string PartNumber { get; set; } = "";
|
|
|
|
// 产品名称
|
|
public string Description { get; set; } = "";
|
|
|
|
// 颜色
|
|
public string Color { get; set; } = "";
|
|
|
|
// 规格
|
|
public string Specification { get; set; } = "";
|
|
|
|
// 工单号
|
|
public string WorkOrder { get; set; } = "";
|
|
|
|
// 箱号
|
|
public string PackageCode { get; set; } = "";
|
|
|
|
// 班组
|
|
public string Team { get; set; } = "A";
|
|
|
|
// 流水号
|
|
public int Sort { get; set; } = 1;
|
|
|
|
// 生产时间
|
|
public string ProductionTime { get; set; } = "";
|
|
|
|
// 批次号
|
|
public string BatchCode { get; set; } = "";
|
|
|
|
// 满箱数
|
|
public int PackageNum { get; set; } = 24;
|
|
|
|
// 标签内容
|
|
public string LabelCode { get; set; } = "";
|
|
|
|
// 标签区别
|
|
public int LabelType { get; set; } = 1;
|
|
|
|
// 发送时间
|
|
public string CreatedTime { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
|
}
|
|
}
|