zhuangpei-mesbackend/DOAN.Model/MES/quality/IPQC/Dto/QcDefectCollectionDto.cs

126 lines
2.5 KiB
C#
Raw Normal View History

2024-09-30 15:31:21 +08:00
using System.ComponentModel.DataAnnotations;
2024-11-04 15:35:15 +08:00
namespace DOAN.Model.MES.quality.IPQC.Dto;
/// <summary>
/// 缺陷收集查询对象
/// </summary>
public class QcDefectCollectionQueryDto : PagerInfo
{
public string MaterialCode { get; set; }
public string MaterialName { get; set; }
public DateTime? DateTime { get; set; }
public string LineCode { get; set; }
public int? Tqm { get; set; }
2024-11-06 16:55:28 +08:00
public int? Type { get; set; }
2024-11-04 15:35:15 +08:00
}
/// <summary>
/// 缺陷收集输入输出对象
/// </summary>
public class QcDefectCollectionDto
2024-09-30 15:31:21 +08:00
{
2024-11-04 15:35:15 +08:00
[Required(ErrorMessage = "id不能为空")] public string Id { get; set; }
public string LineCode { get; set; }
public DateTime? DateTime { get; set; }
public string MaterialCode { get; set; }
public string MaterialName { get; set; }
2024-09-30 15:31:21 +08:00
/// <summary>
2024-11-04 15:35:15 +08:00
/// 产品编码
2024-09-30 15:31:21 +08:00
/// </summary>
2024-09-30 15:40:14 +08:00
2024-11-04 15:35:15 +08:00
public string ProductCode { get; set; }
2024-09-30 15:40:14 +08:00
2024-11-04 15:35:15 +08:00
/// <summary>
/// 产品名称
/// </summary>
2024-09-30 15:40:14 +08:00
2024-11-04 15:35:15 +08:00
public string ProductName { get; set; }
2024-10-12 16:30:09 +08:00
2024-11-04 15:35:15 +08:00
public string BatchNumber { get; set; }
2024-09-30 15:40:14 +08:00
2024-11-04 15:35:15 +08:00
public string Unit { get; set; }
2024-09-30 15:40:14 +08:00
2024-09-30 15:31:21 +08:00
/// <summary>
2024-11-04 17:59:40 +08:00
/// 供应商编码
2024-09-30 15:31:21 +08:00
/// </summary>
2024-11-04 15:35:15 +08:00
public string SupplierCode { get; set; }
2024-11-06 16:54:13 +08:00
2024-11-04 17:59:40 +08:00
public string SupplierName { get; set; }
2024-10-08 11:49:38 +08:00
2024-11-04 15:35:15 +08:00
public decimal PlanNum { get; set; }
2024-10-08 11:49:38 +08:00
2024-11-04 15:35:15 +08:00
public decimal ActualNum { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
public decimal Quantity { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
public string ProcessName { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
public string Superintendent { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
public string DefectDescription { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
public int? Tqm { get; set; }
2024-11-06 16:54:13 +08:00
public int? Type { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
public string Remark { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
public string CreatedBy { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
public DateTime? CreatedTime { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
public string UpdatedBy { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
public DateTime? UpdatedTime { get; set; }
}
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
/// <summary>
/// 报损单
/// </summary>
public class QcDefectCollectionQueryDto2 : PagerInfo
{
public string MaterialCode { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
public string MaterialName { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
public DateTime? DateTime { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
public string LineCode { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
//public int? Tqm { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-06 16:54:13 +08:00
public int? Type { get; set; }
2024-11-04 15:35:15 +08:00
public string SupplierCode { get; set; }
2024-09-30 15:31:21 +08:00
2024-11-04 15:35:15 +08:00
/// <summary>
/// 供应商名称
/// </summary>
public string SupplierName { get; set; }
2024-11-06 16:54:13 +08:00
2024-10-12 16:30:09 +08:00
/// <summary>
2024-11-04 15:35:15 +08:00
/// 产品编码
2024-10-12 16:30:09 +08:00
/// </summary>
2024-11-04 15:35:15 +08:00
public string ProductCode { get; set; }
/// <summary>
/// 产品名称
/// </summary>
public string ProductName { get; set; }
2024-09-30 15:31:21 +08:00
}