2026-07-21 11:48:21 +10:00
|
|
|
|
using PARR.Domain.Constants;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2023-10-03 14:30:54 +10:00
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
2026-07-21 11:48:21 +10:00
|
|
|
|
namespace PARR.Domain.Entities.RobotEntities
|
2023-10-03 14:30:54 +10:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Уровень логов работы робота
|
|
|
|
|
|
/// </summary>
|
2026-07-21 11:48:21 +10:00
|
|
|
|
//[Table("RobotHistoryLevels", Schema = DatabaseSchemas.Robot)]
|
|
|
|
|
|
[Table("HistoryLevels", Schema = DatabaseSchemas.Robot)]
|
2023-10-03 14:30:54 +10:00
|
|
|
|
public class RobotHistoryLevel
|
|
|
|
|
|
{
|
|
|
|
|
|
[Key]
|
|
|
|
|
|
public int Level { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public required string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public required string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-10-05 12:28:31 +10:00
|
|
|
|
public ICollection<RobotHistory> RobotHistories { get; set; } = new HashSet<RobotHistory>();
|
2023-10-03 14:30:54 +10:00
|
|
|
|
}
|
|
|
|
|
|
}
|