//------------------------------------------------------------------------------ // // 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 Invoice { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Invoice() { this.Dispatches = new HashSet(); this.InvoiceBags = new HashSet(); this.InvoiceItems = new HashSet(); } public int InvoiceId { get; set; } public int CustomerId { get; set; } public int WorkloadId { get; set; } public System.DateTime DateCreated { get; set; } public int OperatorLoginId { get; set; } public int InvoiceStatusId { get; set; } public Nullable Printed { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Dispatches { get; set; } public virtual InvoiceStatu InvoiceStatu { get; set; } public virtual OperatorLogin OperatorLogin { get; set; } public virtual Customer Customer { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection InvoiceBags { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection InvoiceItems { get; set; } public virtual Workload Workload { get; set; } } }