using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CK.SCP.Models.ScpEntity { public class TA_VENDER { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int UID { get; set; } [Key] [StringLength(50)] public string VendId { get; set; } [Required] [StringLength(50)] public string VendName { get; set; } [Required] [StringLength(2)] public string VendAbbCode { get; set; } [StringLength(50)] public string VendType { get; set; } [StringLength(50)] public string Country { get; set; } [StringLength(50)] public string City { get; set; } [StringLength(50)] public string Currency { get; set; } [StringLength(200)] public string Address { get; set; } [StringLength(50)] public string ZipCode { get; set; } [StringLength(50)] public string Contacter { get; set; } [StringLength(50)] public string Phone { get; set; } [StringLength(50)] public string Fax { get; set; } [StringLength(50)] public string Email { get; set; } public int State { get; set; } [StringLength(500)] public string Remark { get; set; } public decimal? Tax { get; set; } } }