using System;
using System.Collections.Generic;

namespace AyaNovaQBI
{
    public class Customer
    {
        public long Id { get; set; }
        public uint Concurrency { get; set; }


        public string Name { get; set; }
        public bool Active { get; set; }
        public string Notes { get; set; }
        public string Wiki { get; set; }
        public string CustomFields { get; set; }
        public List<string> Tags { get; set; }


        public string WebAddress { get; set; }
        public string AlertNotes { get; set; }
        public bool BillHeadOffice { get; set; }
        public long? HeadOfficeId { get; set; }

        public string HeadOfficeViz { get; set; }
        public string TechNotes { get; set; }
        public string AccountNumber { get; set; }
        //public bool UsesBanking { get; set; }
        public long? ContractId { get; set; }

        public string ContractViz { get; set; }
        public DateTime? ContractExpires { get; set; }

        public long? LastWorkOrderViz { get; set; }

        public DateTime? LastServiceDateViz { get; set; }
        public string Phone1 { get; set; }
        public string Phone2 { get; set; }
        public string Phone3 { get; set; }
        public string Phone4 { get; set; }
        public string Phone5 { get; set; }
        public string EmailAddress { get; set; }

        //POSTAL ADDRESS
        public string PostAddress { get; set; }
        public string PostCity { get; set; }
        public string PostRegion { get; set; }
        public string PostCountry { get; set; }
        public string PostCode { get; set; }

        //PHYSICAL ADDRESS
        public string Address { get; set; }
        public string City { get; set; }
        public string Region { get; set; }
        public string Country { get; set; }
        public decimal? Latitude { get; set; }
        public decimal? Longitude { get; set; }


        public Customer()
        {
            Tags = new List<string>();
            BillHeadOffice = false;
            //UsesBanking = false;
        }




    }//eoc
}
