Files
parr_api/PARR.Domain/Entities/RobotEntities/RobotHistoryLevel.cs

25 lines
717 B
C#

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>();
}
}