| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- 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
- /// <summary>
- /// Categories related to the appendix
- /// </summary>
- private ICollection<Category> _categories;
- /// <summary>
- /// Deviations related to the appendix
- /// </summary>
- private ICollection<Deviation.Deviation> _deviations;
- /// <summary>
- /// Invoices related to the appendix
- /// </summary>
- private ICollection<Invoice.Invoice> _invoices;
- #endregion
- /// <summary>
- /// Customized number for identification
- /// </summary>
- public string CustomNumber { get; set; }
- /// <summary>
- /// The lot
- /// </summary>
- public string Lot { get; set; }
- /// <summary>
- /// Monetary value of all corresponding deviations
- /// </summary>
- public decimal? Value { get; set; }
- /// <summary>
- /// Percentage probalitity
- /// </summary>
- public decimal? Probability { get; set; }
- /// <summary>
- /// Number of corresponding offer
- /// </summary>
- public int? OfferingNumber { get; set; }
- /// <summary>
- /// Date when corresponding offer was created
- /// </summary>
- public DateTime OfferingDate { get; set; }
- /// <summary>
- /// Date of negotiation
- /// </summary>
- public DateTime NegotiationDate { get; set; }
- /// <summary>
- /// Value of negotiation
- /// </summary>
- public decimal? NegotiationValue { get; set; }
- /// <summary>
- /// Determines if protocol exists
- /// </summary>
- public bool ProtocolExists { get; set; }
- /// <summary>
- /// Number of the corresponding order
- /// </summary>
- public int? OrderNumber { get; set; }
- /// <summary>
- /// Date of the corresponding order
- /// </summary>
- public DateTime OrderDate { get; set; }
- /// <summary>
- /// Editable comment
- /// </summary>
- public string Comment { get; set; }
- /// <summary>
- /// Id of corresponding site
- /// </summary>
- public int? SiteId { get; set; }
- /// <summary>
- /// Corresponding site
- /// </summary>
- public Site.Site Site { get; set; }
- /// <summary>
- /// Categories related to the appendix
- /// </summary>
- public virtual ICollection<Category> Categories
- {
- get { return _categories ?? ( _categories = new List<Category>()); }
- protected set { _categories = value; }
- }
- /// <summary>
- /// Deviations related to the appendix
- /// </summary>
- public virtual ICollection<Deviation.Deviation> Deviations
- {
- get { return _deviations ?? ( _deviations = new List<Deviation.Deviation>()); }
- protected set { _deviations = value; }
- }
- /// <summary>
- /// Invoices related to the appendix
- /// </summary>
- public virtual ICollection<Invoice.Invoice> Invoices
- {
- get { return _invoices ?? (_invoices = new List<Invoice.Invoice>()); }
- protected set { _invoices = value; }
- }
- }
- }
|