Files
kunshan-bzfm-mes-backend/DOAN.Model/MES/Quality/IPQC/Dto/QcScrapRecordsDto.cs

102 lines
2.7 KiB
C#
Raw Normal View History

namespace DOAN.Model.BZFM.Dto
{
/// <summary>
/// 报废记录表查询对象
/// </summary>
public class QcScrapRecordsQueryDto : PagerInfo
{
public string MaterialCode { get; set; }
public string ProductCode { get; set; }
public string Workorder { get; set; }
public string BatchNo { get; set; }
public DateTime? StartTime { get; set; }
public DateTime? EndTime { get; set; }
public string ScrapOrderNo { get; set; }
public string StoveCode { get; set; }
public string SupplierCode { get; set; }
public string ScrapType { get; set; }
public string LineCode { get; set; }
public string Status { get; set; }
}
/// <summary>
/// 报废记录表输入输出对象
/// </summary>
public class QcScrapRecordsDto
{
public string WorkStation { get; set; }
public int? Version { get; set; }
public long? TenantId { get; set; }
public DateTime? UpdatedTime { get; set; }
public long? UpdatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public long CreatedBy { get; set; }
public string Remark { get; set; }
public string LocationCode { get; set; }
public decimal CostImpact { get; set; }
public string QualityInspector { get; set; }
public string Status { get; set; }
public DateTime? ApprovalDate { get; set; }
[Required(ErrorMessage = "报废日期不能为空")]
public DateTime? ScrapDate { get; set; }
public string SupervisorName { get; set; }
public string Operator { get; set; }
public long Id { get; set; }
public string DisposalMethod { get; set; }
public string ScrapType { get; set; }
public string ScrapReason { get; set; }
public string Unit { get; set; }
[Required(ErrorMessage = "报废数量不能为空")]
public decimal ScrapQuantity { get; set; }
public string BatchNo { get; set; }
public string MaterialName { get; set; }
[Required(ErrorMessage = "物料编码不能为空")]
public string MaterialCode { get; set; }
public string ProductName { get; set; }
public string ProductCode { get; set; }
public string StoveCode { get; set; }
public string LineCode { get; set; }
public string Workorder { get; set; }
public string ScrapOrderNo { get; set; }
public string SupplierCode { get; set; }
public string SupplierName { get; set; }
[ExcelColumn(Name = "状态:草稿,待审批,已批准,已拒绝")]
public string StatusLabel { get; set; }
}
}