| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace GreenTree.Nachtragsmanagement.Core.Domain.Site
- {
- public class Site : BaseEntity
- {
- #region Fields
- /// <summary>
- /// Userlist
- /// </summary>
- private ICollection<User.User> _users;
- /// <summary>
- /// Appendixlist
- /// </summary>
- private ICollection<Appendix.Appendix> _appendices;
- #endregion
- /// <summary>
- /// CustomNumber for identification
- /// </summary>
- public int CustomNumber { get; set; }
- /// <summary>
- /// Description
- /// </summary>
- public string Description { get; set; }
- /// <summary>
- /// Beginning of the site
- /// </summary>
- public DateTime Start { get; set; }
- /// <summary>
- /// Ending of the site
- /// </summary>
- public DateTime End { get; set; }
- /// <summary>
- /// Corresponding department handling the site
- /// </summary>
- public string Department { get; set; }
- /// <summary>
- /// Editable comment
- /// </summary>
- public string Comment { get; set; }
- /// <summary>
- /// Determines if the site is completely finished
- /// </summary>
- public bool Finished { get; set; }
- /// <summary>
- /// Users responsible for this site
- /// </summary>
- public virtual ICollection<User.User> Users
- {
- get { return _users ?? ( _users = new List<User.User>()); }
- protected set { _users = value; }
- }
- /// <summary>
- /// Appendices related to the site
- /// </summary>
- public virtual ICollection<Appendix.Appendix> Appendices
- {
- get { return _appendices ?? (_appendices = new List<Appendix.Appendix>()); }
- protected set { _appendices = value; }
- }
- }
- }
|