//------------------------------------------------------------------------------ // // 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 Neo.Afx.Services.Workflows.Entities { using System.Web.Script.Serialization; using System; using System.Collections.Generic; public partial class WorkflowInstance { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public WorkflowInstance() { this.WorkflowInstanceStatusHistories = new HashSet(); this.WorkflowInstanceStepHistories = new HashSet(); this.WorkflowInstanceParticipants = new HashSet(); this.WorkflowInstanceDocuments = new HashSet(); this.WorkflowInstanceTasks = new HashSet(); } public long WorkflowInstanceID { get; set; } public Nullable WorkflowInstanceStatusID { get; set; } public long WorkflowTemplateID { get; set; } public long WorkflowTemplateStepID { get; set; } public int EntityID { get; set; } public long ItemID { get; set; } public System.DateTime StartDate { get; set; } public Nullable EndDate { get; set; } public long CreatedByID { get; set; } public System.DateTime CreatedDate { get; set; } public long UpdatedByID { get; set; } public System.DateTime UpdatedDate { get; set; } public string ReferenceNumber { get; set; } public Nullable WarningDate { get; set; } public Nullable WorkflowInstanceStateID { get; set; } public Nullable DueDate { get; set; } public string RequiredSteps { get; set; } public int WorkflowInstanceAge { get; set; } public string Description { get; set; } public long OfficeLocationID { get; set; } public virtual WorkflowInstanceStatus WorkflowInstanceStatus { get; set; } public virtual WorkflowTemplate WorkflowTemplate { get; set; } public virtual WorkflowTemplateStep WorkflowTemplateStep { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection WorkflowInstanceStatusHistories { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection WorkflowInstanceStepHistories { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection WorkflowInstanceParticipants { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection WorkflowInstanceDocuments { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection WorkflowInstanceTasks { get; set; } } }