using System.ComponentModel.DataAnnotations;
using Win_in.Sfs.Shared.Domain;
namespace Win_in.Sfs.Wms.DataExchange.Application.Contracts.Iac.Qad;
///
/// QAD生产线(Production Line) ProductLineCreateInput IProductLineAppService
/// ProductionLineItemCreateInput IProductionLineItemAppService
///
public class ProdLineInput : EntityCreateInputBase
{
///
/// 公司(Company code)
///
[Display(Name = "公司(Company code)")]
[Required]
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string Company { get; set; }
///
/// 工厂(Site)
///
[Display(Name = "工厂(Site)")]
[Required]
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string Site { get; set; }
///
/// 生产线(Production line)
///
[Display(Name = "生产线(Production line)")]
[Required]
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string Code { get; set; }
///
/// 描述(Description)
///
[Display(Name = "描述(Description)")]
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string Desc { get; set; }
///
/// ERP料号(Part number)
///
[Display(Name = "ERP料号(Part number)")]
[Required]
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
public virtual string Part { get; set; }
///
/// 每小时件
///
[Display(Name = "每小时件(Rate)")]
public virtual int? Rate { get; set; }
///
/// 备注(Remark)
///
[Display(Name = "备注(Remark)")]
public virtual string Remark { get; set; }
}