You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

161 lines
5.3 KiB

using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
using Win_in.Sfs.Shared.Domain;
namespace Win_in.Sfs.Wms.DataExchange.Application.Contracts.Iac.Qad;
/// <summary>
/// QAD发货单明细(ASN detail) SupplierAsnDetailInput
/// </summary>
public class AsnDetInput : EntityDto
{
/// <summary>
/// 送货单号(ASN number)(Asn number)
/// </summary>
[Display(Name = "送货单号(Asn number)")]
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
[Required]
public virtual string AsnNbr { get; set; }
/// <summary>
/// 采购订单号(Purchase order number)
/// </summary>
[Display(Name = "采购订单号(Purchase order number)")]
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
[Required]
public virtual string PoNbr { get; set; }
/// <summary>
/// 采购订单行(Purchase order line)
/// </summary>
[Display(Name = "采购订单行(Purchase order line)")]
[Required]
public virtual int PoLine { get; set; }
/// <summary>
/// ERP料号(Part number)(Part number)
/// </summary>
[Display(Name = "ERP料号(Part number)")]
[StringLength(SfsEfCorePropertyConst.QtyLength, ErrorMessage = "{0}最多输入{1}个字符")]
[Required]
public virtual string PartCode { get; set; }
/// <summary>
/// 批次(Lot number)
/// </summary>
[Display(Name = "批次(Lot number)")]
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
[Required]
public virtual string Lot { get; set; }
/// <summary>
/// 送货总量(Quantity)
/// </summary>
[Display(Name = "送货总量(Quantity)")]
[Required]
public virtual decimal Qty { get; set; }
/// <summary>
/// 生产日期(Production date)
/// </summary>
[Display(Name = "生产日期(Production date)")]
public virtual DateTime? ProductionDate { get; set; }
/// <summary>
/// 器具型号(Ware class)
/// </summary>
[Display(Name = "器具型号(Ware class)")]
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string WareClass { get; set; }
/// <summary>
/// 器具号(Ware code)
/// </summary>
[Display(Name = "器具号(Ware code)")]
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string WareCode { get; set; }
/// <summary>
/// 标准包装量(Standard pack quantity)
/// </summary>
[Display(Name = "标准包装量(Standard pack quantity)")]
[Required]
public virtual decimal StdPackQty { get; set; }
/// <summary>
/// 采购单位(Purchase um)
/// </summary>
[Display(Name = "采购单位(Purchase um)")]
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
[Required]
public virtual string PoUm { get; set; }
/// <summary>
/// 基本单位(Base um)
/// </summary>
[Display(Name = "基本单位(Base um)")]
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
[Required]
public virtual string LocUm { get; set; }
/// <summary>
/// 转换率(Um conversion)
/// </summary>
[Display(Name = "转换率(Um conversion)")]
[Required]
public virtual decimal UmConv { get; set; }
/// <summary>
/// 物料类型(Part type)
/// </summary>
[Display(Name = "物料类型(Part type)")]
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string PartType { get; set; }
/// <summary>
/// 供应商批号(Vendor batch)
/// </summary>
[Display(Name = "供应商批号(Vendor batch)")]
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string Supplierlot { get; set; }
/// <summary>
/// 状态(Status)
/// </summary>
[Display(Name = "状态(Status)")]
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
[Required]
public virtual string Status { get; set; }
/// <summary>
/// 标签代码(Label code)
/// </summary>
[Display(Name = "标签代码(Label code)")]
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string LabelCode { get; set; }
/// <summary>
/// 完整条码数据(Full barcode string)
/// </summary>
[Display(Name = "完整条码数据(Entire barcode string)")]
[StringLength(SfsEfCorePropertyConst.RemarkLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string EntireBarCode { get; set; }
/// <summary>
/// 托盘标签代码(Pallet label code)
/// </summary>
[Display(Name = "托盘标签代码(Pallet label code)")]
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string PalletLabelCode { get; set; }
/// <summary>
/// 备注(Remark)
/// </summary>
[Display(Name = "备注(Remark)")]
public virtual string Remark { get; set; }
}