feat(dal,domain): Таблицы роботов перенесены в схему robot. Создана таблица TemplateRenamePendings - Шаблоны находящиеся в процессе переименования
This commit is contained in:
24
PARR.Domain/Entities/RobotEntities/RobotHistoryLevel.cs
Normal file
24
PARR.Domain/Entities/RobotEntities/RobotHistoryLevel.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user