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.
102 lines
3.3 KiB
102 lines
3.3 KiB
using System.ComponentModel.DataAnnotations;
|
|
using Win_in.Sfs.Shared.Domain;
|
|
|
|
namespace Win_in.Sfs.Wms.DataExchange.Application.Contracts.Iac.Qad;
|
|
|
|
/// <summary>
|
|
/// QAD销售订单(Sale order) SaleOrderCreateInput SaleOrderDetailInput
|
|
/// </summary>
|
|
public class SodDetInput : EntityCreateInputBase
|
|
{
|
|
/// <summary>
|
|
/// 公司(Company code)
|
|
/// </summary>
|
|
[Display(Name = "公司(Company code)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Company { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工厂(Site)
|
|
/// </summary>
|
|
[Display(Name = "工厂(Site)")]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Site { get; set; }
|
|
|
|
/// <summary>
|
|
/// 销售订单号(Sale order number)
|
|
/// </summary>
|
|
[Display(Name = "销售订单号(Sale order number)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string SoNbr { get; set; }
|
|
|
|
/// <summary>
|
|
/// 销售订单行(Sale order line)
|
|
/// </summary>
|
|
[Display(Name = "销售订单行(Sale order line)")]
|
|
[Required]
|
|
|
|
public virtual int SoLine { get; set; }
|
|
|
|
/// <summary>
|
|
/// 客户(Customer)
|
|
/// </summary>
|
|
[Display(Name = "客户(Customer)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string CustCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// ERP料号(Part number)
|
|
/// </summary>
|
|
[Display(Name = "ERP料号(Part number)")]
|
|
[StringLength(SfsEfCorePropertyConst.QtyLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string PartCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 单位(Unit of measure)
|
|
/// </summary>
|
|
[Display(Name = "单位(Unit of measure)")]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Um { get; set; }
|
|
|
|
/// <summary>
|
|
/// 标准包装(Standard pack quantity)
|
|
/// </summary>
|
|
[Display(Name = "标准包装(Standard pack quantity)")]
|
|
[StringLength(SfsEfCorePropertyConst.QtyLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string StdPackQty { get; set; }
|
|
|
|
/// <summary>
|
|
/// 销售库位(Location)
|
|
/// </summary>
|
|
[Display(Name = "销售库位(Location)")]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Loc { get; set; }
|
|
|
|
/// <summary>
|
|
/// 数量(Quantity)
|
|
/// </summary>
|
|
[Display(Name = "数量(Quantity)")]
|
|
public virtual decimal Qty { get; set; }
|
|
|
|
/// <summary>
|
|
/// 项目
|
|
/// </summary>
|
|
[Display(Name = "项目(Project)")]
|
|
public virtual string Project { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发货到(Shipping to)
|
|
/// </summary>
|
|
[Display(Name = "发货到(Shipping to)")]
|
|
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string ShipTo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注(Remark)
|
|
/// </summary>
|
|
[Display(Name = "备注(Remark)")]
|
|
public virtual string Remark { get; set; }
|
|
}
|
|
|