using PARR.Domain.Constants;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PARR.Domain.Entities.RobotEntities
{
    /// <summary>
    /// Уровень логов работы робота
    /// </summary>
    //[Table("RobotHistoryLevels", Schema = DatabaseSchemas.Robot)]
    [Table("HistoryLevels", Schema = DatabaseSchemas.Robot)]
    public class RobotHistoryLevel
    {
        [Key]
        public int Level { get; set; }

        public required string Name { get; set; }

        public required string Description { get; set; }


        public ICollection<RobotHistory> RobotHistories { get; set; } = new HashSet<RobotHistory>();
    }
}
