//------------------------------------------------------------------------------ // // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. // //------------------------------------------------------------------------------ namespace Common { using System; using System.Collections.Generic; public partial class Customer { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Customer() { this.CustomerInventories = new HashSet(); this.CustomerInventoryAudits = new HashSet(); this.CustomerLogins = new HashSet(); this.InventoryItems = new HashSet(); this.Invoices = new HashSet(); this.Workloads = new HashSet(); this.WorkloadsAudits = new HashSet(); this.DriverLogs = new HashSet(); } public int CustomerId { get; set; } public string Name { get; set; } public int BillingProfileId { get; set; } public int OperatorLoginId { get; set; } public string EmailAddress { get; set; } public string ContactName { get; set; } public string AddressLine1 { get; set; } public string AddressLine2 { get; set; } public string AddressCity { get; set; } public string AddressPostCode { get; set; } public string VATNumber { get; set; } public string PastelCode { get; set; } public double StainExpressPercentage { get; set; } public double PriceIncreasePercentage { get; set; } public string EmailAddress2 { get; set; } public string EmailAddress3 { get; set; } public bool DoublePrintBagLabel { get; set; } public bool IsActive { get; set; } public Nullable CompanyID { get; set; } public virtual BillingProfile BillingProfile { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection CustomerInventories { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection CustomerInventoryAudits { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection CustomerLogins { get; set; } public virtual OperatorLogin OperatorLogin { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection InventoryItems { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Invoices { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Workloads { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection WorkloadsAudits { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection DriverLogs { get; set; } public virtual Company Company { get; set; } } }