using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using AsbCloudDb.Model.ProcessMapPlan; using Microsoft.EntityFrameworkCore; namespace AsbCloudDb.Model.ProcessMapPlan.Functions; [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; } [Column("note"), Comment("Примечание"), StringLength(1024)] public string Note { get; set; } = string.Empty; [ForeignKey(nameof(IdPrevious))] public virtual ProcessMapPlanStaticMeasurementOutput? Previous { get; set; } }