using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WorkFlowCheck.Common.Enums;

namespace WorkFlowCheck.MAUI.DataLayer.Entities
{
    public class CheckListHeader
    {
        public int Id { get; set; }
        public int CheckListTemplateHeaderId { get; set; }
        public virtual CheckListTemplateHeader? CheckListTemplateHeader { get; set; }
        public CheckStatus CheckStatus { get; set; }
        public DateTime DateExecution { get; set; }
        public int UserId { get; set; }
        public string ShortName { get; set; } = null!;
        public string Description { get; set; } = null!;
        public string DocumentNumber { get; set; } = null!;
        public Guid GuidNumber { get; set; }
        public bool IsStorno { get; set; }
        public bool IsEditable { get; set; }
        

        public virtual ICollection<CheckListRow> CheckListRows { get; set; } = new List<CheckListRow>();
    }
}
