feat: Добавлены таблицы и сервисы для логирования работы робота. Обновлена таблица templates.

This commit is contained in:
Mikhail Trubnikov
2023-10-03 14:30:54 +10:00
parent e2b1caefe3
commit c32bc74a2c
24 changed files with 4466 additions and 28 deletions

View File

@@ -0,0 +1,23 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace PARR.DAL.Models
{
/// <summary>
/// Статус работы робота
/// </summary>
[Table("RobotStatuses")]
public class RobotStatus
{
[Key]
public int Code { get; set; }
[Required]
public string Name { get; set; } = string.Empty;
[Required]
public string Description { get; set; } = string.Empty;
public ICollection<Template> Templates { get; set; } = new HashSet<Template>();
}
}