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.
62 lines
2.0 KiB
62 lines
2.0 KiB
using System.ComponentModel.DataAnnotations;
|
|
using Win_in.Sfs.Shared.Domain;
|
|
|
|
namespace Win_in.Sfs.Wms.DataExchange.Application.Contracts.Iac.Qad;
|
|
|
|
/// <summary>
|
|
/// QAD生产线(Production Line) ProductLineCreateInput IProductLineAppService
|
|
/// ProductionLineItemCreateInput IProductionLineItemAppService
|
|
/// </summary>
|
|
public class ProdLineInput : 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.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Site { get; set; }
|
|
|
|
/// <summary>
|
|
/// 生产线(Production line)
|
|
/// </summary>
|
|
[Display(Name = "生产线(Production line)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述(Description)
|
|
/// </summary>
|
|
[Display(Name = "描述(Description)")]
|
|
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Desc { get; set; }
|
|
|
|
/// <summary>
|
|
/// ERP料号(Part number)
|
|
/// </summary>
|
|
[Display(Name = "ERP料号(Part number)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Part { get; set; }
|
|
|
|
/// <summary>
|
|
/// 每小时件
|
|
/// </summary>
|
|
[Display(Name = "每小时件(Rate)")]
|
|
public virtual int? Rate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注(Remark)
|
|
/// </summary>
|
|
[Display(Name = "备注(Remark)")]
|
|
public virtual string Remark { get; set; }
|
|
}
|
|
|