using WorkFlowCheck.DL.Interfaces;

namespace WorkFlowCheck.DL.Entities
{
    public class CheckListTemplateHeader : ISoftDeletableEntity, IAuditableEntity
    {
        public int Id { get; set; }
        public string ShortName { get; set; } = null!;
        public string Description { get; set; } = null!;
        public bool IsDeleted { get; set; }
        public DateTime LastModAt { get; set; }
        public string LastModBy { get; set; } = null!;
        public DateTime CreatedAt { get; set; }
        public string CreatedBy { get; set; } = null!;

        public int? NumberGenerator1Id { get; set; }
        public int? NumberGenerator2Id { get; set; }
        public NumberGeneratorTemplate NumberGenerator1 { get; set; }
        public NumberGeneratorTemplate NumberGenerator2 { get; set; }

        public virtual ICollection<CheckListTemplateRow> CheckListTemplateRows { get; set; } = new List<CheckListTemplateRow>();


    }
}
