2026-07-21 11:48:21 +10:00
|
|
|
|
using PARR.Domain.Constants;
|
2026-07-13 15:29:48 +10:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2023-09-14 17:00:56 +10:00
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
2026-07-21 11:48:21 +10:00
|
|
|
|
namespace PARR.Domain.Entities.RobotEntities
|
2023-09-14 17:00:56 +10:00
|
|
|
|
{
|
2023-10-03 14:30:54 +10:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Статус шаблона. Что нужно сделать роботу в ЕСПП
|
|
|
|
|
|
/// </summary>
|
2026-07-21 11:48:21 +10:00
|
|
|
|
[Table("TaskStatuses", Schema = DatabaseSchemas.Robot)]
|
2023-10-05 16:56:02 +10:00
|
|
|
|
public class TaskStatus
|
2023-09-14 17:00:56 +10:00
|
|
|
|
{
|
|
|
|
|
|
[Key]
|
|
|
|
|
|
public int Code { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
|
public string Description { get; set; } = string.Empty;
|
|
|
|
|
|
|
2023-10-06 15:13:40 +10:00
|
|
|
|
public ICollection<RobotConfiguration> RobotConfigurations { get; set; } = new HashSet<RobotConfiguration>();
|
|
|
|
|
|
|
|
|
|
|
|
public ICollection<RobotHistory> RobotHistories { get; set; } = new HashSet<RobotHistory>();
|
2026-07-13 15:29:48 +10:00
|
|
|
|
|
|
|
|
|
|
public ICollection<RobotConfigurationSnapshot> ConfigurationSnapshots { get; set; } = new HashSet<RobotConfigurationSnapshot>();
|
2023-09-14 17:00:56 +10:00
|
|
|
|
}
|
|
|
|
|
|
}
|