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.
198 lines
6.7 KiB
198 lines
6.7 KiB
using System.ComponentModel.DataAnnotations;
|
|
using Win_in.Sfs.Shared.Domain;
|
|
|
|
namespace Win_in.Sfs.Wms.DataExchange.Application.Contracts.Iac.Qad;
|
|
|
|
/// <summary>
|
|
/// QAD物料(Part) ItemBasicCreateInput IItemBasicAppService
|
|
/// </summary>
|
|
public class PartInput : 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 Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物流名称(Part name)
|
|
/// </summary>
|
|
[Display(Name = "物流名称(Part name)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述1(Description 1)
|
|
/// </summary>
|
|
[Display(Name = "描述1(Description 1)")]
|
|
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
[Required]
|
|
public virtual string Desc1 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述2(Description 2)
|
|
/// </summary>
|
|
[Display(Name = "描述2(Description 2)")]
|
|
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Desc2 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料状态(Part Status)
|
|
/// </summary>
|
|
[Display(Name = "物料状态(Part Status)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 允许制造(Can make)
|
|
/// </summary>
|
|
[Display(Name = "允许制造(Can make)")]
|
|
public virtual bool CanMake { get; set; }
|
|
|
|
/// <summary>
|
|
/// 允许采购(Can buy)
|
|
/// </summary>
|
|
[Display(Name = "允许采购(Can buy)")]
|
|
public virtual bool CanBuy { get; set; }
|
|
|
|
/// <summary>
|
|
/// 计量单位(Unit of measure)
|
|
/// </summary>
|
|
[Display(Name = "计量单位(Unit of measure)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Um { get; set; }
|
|
|
|
/// <summary>
|
|
/// ABC类(ABC class)
|
|
/// </summary>
|
|
[Display(Name = "ABC类(ABC class)")]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string AbcClass { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产品类(Product line)
|
|
/// </summary>
|
|
[Display(Name = "产品类(Product line)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string ProdKind { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物品类型(Part type)
|
|
/// </summary>
|
|
[Display(Name = "物品类型(Part type)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string PartType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物品种类(Part catalog)
|
|
/// </summary>
|
|
[Display(Name = "物品种类(Part catalog)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string PartCatalog { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物品分组(Part group)
|
|
/// </summary>
|
|
[Display(Name = "物品分组(Part group)")]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string PartGroup { get; set; }
|
|
|
|
/// <summary>
|
|
/// 虚物品
|
|
/// </summary>
|
|
[Display(Name = "虚物品(Is phantom)")]
|
|
public virtual bool IsPhantom { get; set; }
|
|
|
|
/// <summary>
|
|
/// 颜色(Color)
|
|
/// </summary>
|
|
[Display(Name = "颜色(Color)")]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Color { get; set; }
|
|
|
|
/// <summary>
|
|
/// 配置(Configuration)
|
|
/// </summary>
|
|
[Display(Name = "配置(Configuration)")]
|
|
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Config { get; set; }
|
|
|
|
/// <summary>
|
|
/// 项目(Project)
|
|
/// </summary>
|
|
[Display(Name = "项目(Project)")]
|
|
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Project { get; set; }
|
|
|
|
/// <summary>
|
|
/// 版本(Version)
|
|
/// </summary>
|
|
[Display(Name = "版本(Version)")]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Version { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工程变更通知单(Engineering change notice)
|
|
/// </summary>
|
|
[Display(Name = "工程变更通知单(Engineering change notice)")]
|
|
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Eco { get; set; }
|
|
|
|
/// <summary>
|
|
/// 标包计量单位(Standard pack um)
|
|
/// </summary>
|
|
[Display(Name = "标包计量单位(Standard pack um)")]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string StdPackUm { get; set; }
|
|
|
|
/// <summary>
|
|
/// 标包数量(Standard pack quantity)
|
|
/// </summary>
|
|
[Display(Name = "标包数量(Standard pack quantity)")]
|
|
|
|
public virtual decimal StdPackQty { get; set; }
|
|
|
|
/// <summary>
|
|
/// 替代计量单位(Extra pack um)
|
|
/// </summary>
|
|
[Display(Name = "替代计量单位(Extra pack um)")]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string ExtPackUm { get; set; }
|
|
|
|
/// <summary>
|
|
/// 替代包装数量(Extra pack quantity)
|
|
/// </summary>
|
|
[Display(Name = "替代包装数量(Extra pack quantity)")]
|
|
|
|
public virtual decimal ExtPackQty { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注(Remark)
|
|
/// </summary>
|
|
[Display(Name = "备注(Remark)")]
|
|
public virtual string Remark { get; set; }
|
|
}
|
|
|