using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.Attributes;
|
|
namespace WIDESEA_DTO.ERP
|
{
|
/// <summary>
|
/// 成品仓检报废单
|
/// </summary>
|
[ModelValidate]
|
public class ErpProductScrappedOrderDTO
|
{
|
/// <summary>
|
/// 订单号
|
/// </summary>
|
[PropertyValidate("订单号", NotNullAndEmpty = true)]
|
public string OrderNo { get; set; }
|
|
/// <summary>
|
/// 产品编码
|
/// </summary>
|
[PropertyValidate("产品编码", NotNullAndEmpty = true)]
|
public string PCode { get; set; }
|
|
/// <summary>
|
/// 产品版本
|
/// </summary>
|
[PropertyValidate("产品版本", NotNullAndEmpty = true)]
|
public string PVer { get; set; }
|
|
/// <summary>
|
/// 产品批次
|
/// </summary>
|
[PropertyValidate("产品批次", NotNullAndEmpty = true)]
|
public string PLot { get; set; }
|
|
/// <summary>
|
/// 产品周期
|
/// </summary>
|
[PropertyValidate("产品周期")]
|
public int DateCode { get; set; }
|
|
/// <summary>
|
/// 仓库类型
|
/// HA72=尾数仓、HA71=成品仓、HA73=研发仓
|
/// </summary>
|
[PropertyValidate("仓库类型", NotNullAndEmpty = true)]
|
public string WaType { get; set; }
|
|
/// <summary>
|
/// 合格PCS数
|
/// </summary>
|
[PropertyValidate("合格PCS数", NotNullAndEmpty = true)]
|
public float QtyPcs { get; set; }
|
|
/// <summary>
|
/// X板数
|
/// </summary>
|
[PropertyValidate("X板数")]
|
public float XQty { get; set; }
|
|
/// <summary>
|
/// X板位
|
/// </summary>
|
[PropertyValidate("X板位")]
|
public string XSite { get; set; }
|
|
/// <summary>
|
/// 单位
|
/// </summary>
|
[PropertyValidate("单位", NotNullAndEmpty = true)]
|
public string Unit { get; set; }
|
|
/// <summary>
|
/// 建单日期
|
/// yyyy-MM-dd
|
/// </summary>
|
[PropertyValidate("建单日期", NotNullAndEmpty = true)]
|
public string OrderDate { get; set; }
|
|
/// <summary>
|
/// 备注
|
/// </summary>
|
[PropertyValidate("备注")]
|
public string Note { get; set; }
|
}
|
}
|