feat(dal): Таблицы для расписания ЕСПП

This commit is contained in:
Mikhail Trubnikov
2023-10-10 15:52:34 +10:00
parent 08a2903755
commit e60e0ec9c7
15 changed files with 6533 additions and 1 deletions

View File

@@ -28,6 +28,16 @@ namespace PARR.DAL.Models
public required string Solution { get; set; }
/// <summary>
/// Расписание: Время создания наряда (чч:мм:сс)
/// </summary>
public TimeSpan ScheduleGenerationTime { get; set; }
/// <summary>
/// Расписание: Следующее срабатывание
/// </summary>
public DateOnly ScheduleStartDate { get; set; }
[ForeignKey(nameof(WorkId))]
public Work? Work { get; set; }
@@ -35,5 +45,7 @@ namespace PARR.DAL.Models
public Application? Application { get; set; }
public ICollection<Template> Templates { get; set; } = new HashSet<Template>();
public ICollection<EsppSchValue> EsppSchValues { get; set; } = new HashSet<EsppSchValue>();
}
}