using Marco.Pms.Model.MongoDBModels.Masters;

namespace Marco.Pms.Model.MongoDBModels.Project
{
    public class ProjectMongoDB
    {
        public string Id { get; set; } = string.Empty;
        public string? Name { get; set; }
        public string? ShortName { get; set; }
        public string? ProjectAddress { get; set; }
        public string? ContactPerson { get; set; }
        public List<BuildingMongoDB> Buildings { get; set; } = new List<BuildingMongoDB>();
        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        public StatusMasterMongoDB? ProjectStatus { get; set; }
        public OrganizationMongoDB? Promoter { get; set; }
        public OrganizationMongoDB? PMC { get; set; }
        public int TeamSize { get; set; }
        public double CompletedWork { get; set; }
        public double PlannedWork { get; set; }
        public DateTime ExpireAt { get; set; } = DateTime.UtcNow.Date.AddDays(1);
    }
}
