using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GreenTree.Nachtragsmanagement.Core.Domain.Appendix { public class Appendix : BaseEntity { #region Fields /// /// Categories related to the appendix /// private ICollection _categories; /// /// Deviations related to the appendix /// private ICollection _deviations; /// /// Invoices related to the appendix /// private ICollection _invoices; #endregion /// /// Customized number for identification /// public int? CustomNumber { get; set; } /// /// The lot /// public string Lot { get; set; } /// /// Monetary value of all corresponding deviations /// public decimal? Value { get; set; } /// /// Percentage probalitity /// public decimal? Probability { get; set; } /// /// Number of corresponding offer /// public int? OfferingNumber { get; set; } /// /// Date when corresponding offer was created /// public DateTime OfferingDate { get; set; } /// /// Date of negotiation /// public DateTime NegotiationDate { get; set; } /// /// Value of negotiation /// public decimal? NegotiationValue { get; set; } /// /// Determines if protocol exists /// public bool ProtocolExists { get; set; } /// /// Number of the corresponding order /// public int? OrderNumber { get; set; } /// /// Date of the corresponding order /// public DateTime OrderDate { get; set; } /// /// Editable comment /// public string Comment { get; set; } /// /// Id of corresponding site /// public int? SiteId { get; set; } /// /// Corresponding site /// public Site.Site Site { get; set; } /// /// Categories related to the appendix /// public virtual ICollection Categories { get { return _categories ?? ( _categories = new List()); } protected set { _categories = value; } } /// /// Deviations related to the appendix /// public virtual ICollection Deviations { get { return _deviations ?? ( _deviations = new List()); } protected set { _deviations = value; } } /// /// Invoices related to the appendix /// public virtual ICollection Invoices { get { return _invoices ?? (_invoices = new List()); } protected set { _invoices = value; } } } }