View on GitHub

documentation

Documentation for DdD products

    public class SupplierInsertModel : IMappingConfig, ISupplierViewModel
    {
        [MaxLength(30)]
        public string Name { get; set; }

        [Required]
        [MaxLength(3)]
        public string CurrencyCode { get; set; }

        [MaxLength(30)]
        public string Address1 { get; set; }
        
        [MaxLength(30)]
        public string Address2 { get; set; }

        [MaxLength(8)]
        public string ZipCode { get; set; }

        [MaxLength(25)]
        public string City { get; set; }

        [MaxLength(30)]
        public string Contact { get; set; }

        [MaxLength(12)]
        public string Phone { get; set; }

        [MaxLength(12)]
        public string Mobile { get; set; }

        [MaxLength(12)]
        public string Fax { get; set; }

        [MaxLength(50)]
        public string Email { get; set; }

        [MaxLength(100)]
        public string Website { get; set; }
    }