using System.ComponentModel.DataAnnotations; using Win_in.Sfs.Shared.Domain; namespace Win_in.Sfs.Wms.DataExchange.Application.Contracts.Iac.Qad; /// /// QAD客户(Customer) CustomerCreateInput ICustomerAppService /// public class CustInput : EntityCreateInputBase { /// /// 公司(Company code) /// [Display(Name = "公司(Company code)")] [Required] [StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")] public virtual string Company { get; set; } /// /// 客户编号(Customer code) /// [Display(Name = "客户编号(Customer code)")] [Required] [StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")] public virtual string Code { get; set; } /// /// 客户名称(Customer name) /// [Display(Name = "客户名称(Customer name)")] [StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")] public virtual string Name { get; set; } /// /// 地址1(Address 1) /// [Display(Name = "地址1(Address 1)")] [StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")] public virtual string Addr1 { get; set; } /// /// 地址2(Address 2) /// [Display(Name = "地址2(Address 2)")] [StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")] public virtual string Addr2 { get; set; } /// /// 地址3(Address 3) /// [Display(Name = "地址3(Address 3)")] [StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")] public virtual string Addr3 { get; set; } /// /// 国家(Country) /// [Display(Name = "国家(Country)")] [StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")] public virtual string Country { get; set; } /// /// 城市(City) /// [Display(Name = "城市(City)")] [StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")] public virtual string City { get; set; } /// /// 电话(Phone) /// [Display(Name = "电话(Phone)")] [StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")] public virtual string Phone { get; set; } /// /// 传真(Fox) /// [Display(Name = "传真(Fox)")] [StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")] public virtual string Fax { get; set; } /// /// 邮编(Post id) /// [Display(Name = "邮编(Post id)")] [StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")] public virtual string PstId { get; set; } /// /// 联系人(Contacts name) /// [Display(Name = "联系人(Contacts name)")] [StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")] public virtual string Contacts { get; set; } /// /// 货币(Currency) /// [Display(Name = "货币(Currency)")] [StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")] public virtual string Curr { get; set; } /// /// 状态(Is active) /// [Required] [Display(Name = "状态(Is active)")] public virtual bool Active { get; set; } /// /// 客户类型(Vendor type) /// [Required] [Display(Name = "客户类型(Vendor type)")] public virtual int? Type { get; set; } /// /// 备注(Remark) /// [Display(Name = "备注(Remark)")] public virtual string Remark { get; set; } }