namespace BPA.MES.Base.Application.Services { /// <summary> /// 名 称 :产线设备 /// 创 建 人 :yangxiao /// 创建时间 : 2023/7/20 17:00:32 /// 描 述 : /// </summary> public class ProductLineDeviceDto { /// <summary> /// 产线Id /// </summary> public string LineId { get; set; } /// <summary> /// 产线设备 /// </summary> public string DeviceId { get; set; } /// <summary> /// 产线工艺流程Id /// </summary> public string StepId { get; set; } } public class ProductLineDeviceAddInput: ProductLineDeviceDto { } public class ProductLineDeviceBatchAddInput { /// <summary> /// 工艺流程主键 /// </summary> public string Id { get; set; } /// <summary> /// 绑定设备 /// </summary> public string[] DeviceId { get; set; } /// <summary> /// 产线主键 /// </summary> public string LineId { get; set; } } /// <summary> /// 产线设备不分页 /// </summary> public class ProductLineDeviceQueryInput { /// <summary> /// 名称 /// </summary> public string Name { get; set; } /// <summary> /// 产线Id /// </summary> public string LineId { get; set; } /// <summary> /// 产线工艺流程Id /// </summary> public string StepId { get; set; } } /// <summary> /// 产线设备分页 /// </summary> public class ProductLineDeviceQueryPageInput : RequestPage { /// <summary> /// 名称 /// </summary> public string Name { get; set; } /// <summary> /// 产线Id /// </summary> public string LineId { get; set; } /// <summary> /// 产线工艺流程Id /// </summary> public string StepId { get; set; } } /// <summary> /// 删除产线设备 /// </summary> public class ProductLineDeviceDelInput: ProductLineDeviceDto { /// <summary> /// 主键 /// </summary> public string Id { get; set; } } /// <summary> /// 产线设备关联信息 /// </summary> public class ProductLineDeviceOutput: ProductLineDeviceDto { /// <summary> /// 主键 /// </summary> public string Id { get; set; } /// <summary> /// 名称 /// </summary> /// <example>设备名称</example> public string DeviceName { get; set; } /// <summary> /// 编码 /// </summary> public string DeviceCode { get; set; } /// <summary> /// 设备类型 /// </summary> public string DeviceType { get; set; } /// <summary> /// 设备描述 /// </summary> /// <example>设备描述</example> public string Describe { get; set; } /// <summary> /// 产线工艺流程名称 /// </summary> public string StepName { get; set; } } }