26 lines
577 B
C#
26 lines
577 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace PARR.DAL.Models
|
|
{
|
|
/// <summary>
|
|
/// Уровень логов работы робота
|
|
/// </summary>
|
|
[Table("RobotHistoryLevels")]
|
|
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>();
|
|
|
|
|
|
|
|
}
|
|
}
|