using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using AsbCloudDb.Model.ProcessMapPlan; using Microsoft.EntityFrameworkCore; namespace AsbCloudDb.Model.ProcessMaps; [Table("t_process_map_plan_static_measurement_output"), Comment("Выход статического замера")] public class ProcessMapPlanStaticMeasurementOutput : ProcessMapPlanBase { [Column("signal_waiting_time"), Comment("Время ожидания выхода сигнала с ТМС, сек.")] [Range(0.0, 1800.0)] [Required] public double SignalWaitingTime { get; set; } [ForeignKey(nameof(IdPrevious))] public virtual ProcessMapPlanStaticMeasurementOutput? Previous { get; set; } }