This commit is contained in:
2020-12-03 19:43:05 +00:00
parent 5da01d776a
commit 4fd9bd2689
7 changed files with 485 additions and 12 deletions

View File

@@ -36,17 +36,11 @@ namespace AyaNova.Models
public long? ContractId { get; set; }
public DateTime? ContractExpires { get; set; }
public long? DefaultServiceTemplateId { get; set; }
//[Phone]
public string Phone1 { get; set; }
// [Phone]
public string Phone2 { get; set; }
//[Phone]
public string Phone3 { get; set; }
//[Phone]
public string Phone4 { get; set; }
//[Phone]
public string Phone5 { get; set; }
//[EmailAddress]
public string EmailAddress { get; set; }
//POSTAL ADDRESS

View File

@@ -24,6 +24,34 @@ namespace AyaNova.Models
public List<string> Tags { get; set; }
public string PopUpNotes { get; set; }
public string WebAddress { get; set; }
public string AccountNumber { 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 Vendor()
{
Tags = new List<string>();
@@ -35,3 +63,36 @@ namespace AyaNova.Models
}//eoc
}//eons
/*
CREATE TABLE [dbo].[AVENDOR](
[AID] [uniqueidentifier] NOT NULL,
[ACREATED] [datetime] NOT NULL,
[AMODIFIED] [datetime] NOT NULL,
[AACTIVE] [bit] NOT NULL,
[ACREATOR] [uniqueidentifier] NOT NULL,
[AMODIFIER] [uniqueidentifier] NOT NULL,
[ANAME] [nvarchar](255) NOT NULL,
[AWEBADDRESS] [nvarchar](255) NULL,
[AVENDORTYPE] [smallint] NOT NULL,
[ANOTES] [ntext] NULL,
[AACCOUNTNUMBER] [nvarchar](255) NULL,
[ACUSTOM1] [ntext] NULL,
[ACUSTOM2] [ntext] NULL,
[ACUSTOM3] [ntext] NULL,
[ACUSTOM4] [ntext] NULL,
[ACUSTOM5] [ntext] NULL,
[ACUSTOM6] [ntext] NULL,
[ACUSTOM7] [ntext] NULL,
[ACUSTOM8] [ntext] NULL,
[ACUSTOM9] [ntext] NULL,
[ACUSTOM0] [ntext] NULL,
[ACONTACTNOTES] [ntext] NULL,
[ACONTACT] [nvarchar](500) NULL,
[APHONE1] [nvarchar](255) NULL,
[APHONE2] [nvarchar](255) NULL,
[APHONE3] [nvarchar](255) NULL,
[APHONE4] [nvarchar](255) NULL,
[APHONE5] [nvarchar](255) NULL,
[AEMAIL] [nvarchar](255) NULL,
*/