//------------------------------------------------------------------------------ // // 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.Documents.Entities { using System.Web.Script.Serialization; using System; using System.Collections.Generic; public partial class Document { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Document() { this.DocumentStores = new HashSet(); this.DocumentQuestions = new HashSet(); this.DocumentQuestionHistories = new HashSet(); } public long DocumentID { get; set; } public short DocumentTypeID { get; set; } public int EntityID { get; set; } public long ItemID { get; set; } public string Description { get; set; } public bool IsCancelled { 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 short DocumentMimeTypeID { get; set; } public long DocumentStoreLocationID { get; set; } public string Title { get; set; } public short DocumentVerificationStatusID { get; set; } public Nullable ExpiryDate { get; set; } public Nullable OriginatingEntityID { get; set; } public Nullable OriginatingItemID { get; set; } public Nullable OriginatingDocumentID { get; set; } public Nullable LastReminderRequestSentDate { get; set; } public virtual DocumentType DocumentType { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection DocumentStores { get; set; } public virtual DocumentsUser UserCreatedBy { get; set; } public virtual DocumentsUser UserUpdatedBy { get; set; } public virtual DocumentMimeType DocumentMimeType { get; set; } public virtual DocumentStoreLocation DocumentStoreLocation { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] [ScriptIgnore] public virtual ICollection DocumentQuestions { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection DocumentQuestionHistories { get; set; } } }