using Microsoft.EntityFrameworkCore;
using PARR.Domain.Enums;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PARR.Domain.Entities
{
    [Table("TemplateStatusTypes")]
    [Comment("Таблица описания критериев выборки аттрибутов ЭК")]
    public class TemplateStatusType
    {
        [Key]
        public TemplateStatusTypeEnum Id { get; set; }

        public required string Name { get; set; }

        public required string Description { get; set; }

        public ICollection<Template> Templates { get; set; } = new HashSet<Template>();
    }
}
