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.
97 lines
3.0 KiB
97 lines
3.0 KiB
using System.ComponentModel.DataAnnotations;
|
|
using Win_in.Sfs.Shared.Domain;
|
|
|
|
namespace Win_in.Sfs.Wms.DataExchange.Application.Contracts.Iac.Qad;
|
|
|
|
/// <summary>
|
|
/// QAD实时库存(Inventory balance) 先不做
|
|
/// </summary>
|
|
public class InventoryInput : 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)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Site { get; set; }
|
|
|
|
/// <summary>
|
|
/// ERP料号(Part number)
|
|
/// </summary>
|
|
[Display(Name = "ERP料号(Part number)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.QtyLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Part { get; set; }
|
|
|
|
/// <summary>
|
|
/// 批次(Lot number)
|
|
/// </summary>
|
|
[Display(Name = "批次(Lot number)")]
|
|
[StringLength(SfsEfCorePropertyConst.QtyLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Lot { get; set; }
|
|
|
|
/// <summary>
|
|
/// 库存数量(Inventory quantity)
|
|
/// </summary>
|
|
[Display(Name = "库存数量(Inventory quantity)")]
|
|
[Required]
|
|
|
|
public virtual decimal Qty { 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>
|
|
/// 库位编码(Location)
|
|
/// </summary>
|
|
[Display(Name = "库位编码(Location)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Loc { get; set; }
|
|
|
|
/// <summary>
|
|
/// 供应商(Vendor)寄售库存
|
|
/// </summary>
|
|
[Display(Name = "供应商寄售库存(Supplier Consign Qty")]
|
|
|
|
public virtual decimal? SuppConsignQty { get; set; }
|
|
|
|
/// <summary>
|
|
/// 客户寄售库存
|
|
/// </summary>
|
|
[Display(Name = "客户寄售库存(Customer Consign Qty")]
|
|
|
|
public virtual decimal? CustConsignQty { get; set; }
|
|
|
|
/// <summary>
|
|
/// 库存状态
|
|
/// </summary>
|
|
[Display(Name = "库存状态(Inventory Status)")]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 参考号
|
|
/// </summary>
|
|
[Display(Name = "参考号(Reference)")]
|
|
public virtual string Reference { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注(Remark)
|
|
/// </summary>
|
|
[Display(Name = "备注(Remark)")]
|
|
public virtual string Remark { get; set; }
|
|
}
|
|
|