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

namespace WorkFlowCheck.Common.DTO
{
    public class CheckListHeaderDTO
    {
        public int Id { get; set; }
        public int CheckListTemplateHeaderId { get; set; }
        public CheckListTemplateHeaderDTO? CheckListTemplateHeaderDTO { get; set; }
        public CheckStatus CheckStatus { get; set; }    
        public DateTime DateExecution { get; set; }
        public int UserId { get; set; }
        public UserDTO? UserDTO { 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 ICollection<CheckListRowDTO>? CheckListRowDTO { get; set; } = new List<CheckListRowDTO>();

        public CheckListHeaderDTO()
        {
            CheckListRowDTO = new List<CheckListRowDTO>();
        }
    }
}
