//------------------------------------------------------------------------------
//
// 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 Workload
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Workload()
{
this.CustomerWorkloadBags = new HashSet();
this.Invoices = new HashSet();
this.WorkloadItems = new HashSet();
this.WorkloadItemsAudits = new HashSet();
}
public int WorkloadId { get; set; }
public int CustomerId { get; set; }
public int CustomerLoginId { get; set; }
public System.DateTime DateCreated { get; set; }
public int WorkloadStatusId { get; set; }
public int OperatorLoginId { get; set; }
public int WorkloadTypeId { get; set; }
public string Reference { get; set; }
public int OperatorAuthoriseId { get; set; }
public Nullable TotalBags { get; set; }
public virtual CustomerLogin CustomerLogin { get; set; }
public virtual Customer Customer { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection CustomerWorkloadBags { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection Invoices { get; set; }
public virtual OperatorLogin OperatorLogin { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection WorkloadItems { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection WorkloadItemsAudits { get; set; }
public virtual WorkloadStatus WorkloadStatu { get; set; }
public virtual WorkloadType WorkloadType { get; set; }
}
}