using Marco.Pms.Model.MongoDBModels.Masters;

namespace Marco.Pms.Model.MongoDBModels.Project
{
    public class WorkItemMongoDB
    {
        public string Id { get; set; } = string.Empty;
        public string WorkAreaId { get; set; } = string.Empty;
        public ActivityMasterMongoDB? ActivityMaster { get; set; }
        public WorkCategoryMasterMongoDB? WorkCategoryMaster { get; set; }
        public string? ParentTaskId { get; set; } = null;
        public double PlannedWork { get; set; } = 0;
        public double TodaysAssigned { get; set; } = 0;
        public double CompletedWork { get; set; } = 0;
        public string? Description { get; set; }
        public DateTime TaskDate { get; set; }
        public DateTime ExpireAt { get; set; } = DateTime.UtcNow.Date.AddDays(1);
    }
}
