using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace ChangKeTec.Wms.Models.Wms { public partial class TA_CUSTOMER { [DatabaseGenerated(DatabaseGeneratedOption.Computed)] public int UID { get; set; } [Key] [StringLength(50)] [DisplayName("客户编号")] public string CustId { get; set; } [Required(AllowEmptyStrings = true)] [StringLength(50)] [DisplayName("客户名称")] public string CustName { get; set; } [StringLength(50)] [DisplayName("客户类型")] public string CustType { get; set; } [StringLength(50)] [DisplayName("ERP客户编号")] public string ErpCode { get; set; } [StringLength(50)] [DisplayName("国家")] public string Country { get; set; } [StringLength(50)] [DisplayName("城市")] public string City { get; set; } [StringLength(50)] [DisplayName("币种")] public string Currency { get; set; } [StringLength(50)] public string Promo { get; set; } [Required(AllowEmptyStrings = true)] [StringLength(200)] [DisplayName("地址")] public string Address { get; set; } [StringLength(50)] [DisplayName("邮编")] public string ZipCode { get; set; } [StringLength(50)] [DisplayName("联系人")] public string Contacter { get; set; } [StringLength(50)] [DisplayName("联系电话")] public string Phone { get; set; } [StringLength(50)] [DisplayName("传真")] public string Fax { get; set; } [StringLength(50)] [DisplayName("电子邮件")] public string Email { get; set; } [DisplayName("状态")] public int State { get; set; } [StringLength(500)] [DisplayName("备注")] public string Remark { get; set; } [StringLength(50)] [DisplayName("在客户处供应商编号")] public string SelfCode { get; set; } } }