using IVM.Controllers;
using Microsoft.AspNetCore.Mvc;
using System.ComponentModel.DataAnnotations;

namespace IVM.Models
{
    public class EditModel
    {
        public List<AddressTypes> AddressTypes { get; set; }
        public string? Attention { get; set; }
        public string? PayeeName { get; set; }
        public string? InvoiceTo { get; set; }
        public List<CountryModel> Countries { get; set; }
        public List<StatesProvinces> StatesProvinces { get; set; }
        public string? Client { get; set; }
        public int stateProvinceId { get; set; }
        public string VM_Location { get; set; }
        public string Vendor { get; set; }
        public string Machine { get; set; }
        public string? streetLine1 { get; set; }
        public string? streetLine2 { get; set; }
        public string City { get; set; }
        public string countryCode { get; set; }
        public string stateProvince { get; set; }
        public string PostalCode { get; set; }
        public DateTime Created { get; set; }
        [ScaffoldColumn(false)]
        public int id { get; set; }
        [ScaffoldColumn(false)]
        public string TypeofObject { get; set; }

        [BindProperty]
        public static EditModel AddressModel { get { return AddressController.EditAddressModel; } }
    }
}
