This commit is contained in:
2022-07-04 18:49:00 +00:00
parent d4c163bc93
commit a0a02b853f
7 changed files with 2218 additions and 0 deletions

72
AyaNovaQBI/Customer.cs Normal file
View File

@@ -0,0 +1,72 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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
}