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_operation_oscillation_angels"), Comment("Определение углов осцилляции")] public class ProcessMapPlanOperationDeterminationOfOscillationAngles : ProcessMapPlanBase { [Column("max_pressure"), Comment("Максимальное давление, атм")] [Range(0.0, 400.0)] [Required] public double MaxPressure { get; set; } [Column("differential_pressure"), Comment("Перепад давления, атм.")] [Range(0.0, 60.0)] [Required] public double DifferentialPressure { get; set; } [Column("setpoints_tight"), Comment("Уставки, т., затяжка")] [Range(0.0, 20.0)] [Required] public double SetpointsTight { get; set; } [Column("setpoints_slacking_off"), Comment("Уставки, т., посадка")] [Range(0.0, 20.0)] [Required] public double SetpointsSlackingOff { get; set; } [Column("reaming1_rop_up"), Comment("Скорость, м/ч., Вверх")] [Range(0.0, 999.0)] [Required] public double Reaming1ROPUp { get; set; } [Column("reaming1_rop_down"), Comment("Скорость, м/ч., Вниз")] [Range(0.0, 999.0)] [Required] public double Reaming1ROPDown { get; set; } [ForeignKey(nameof(IdPrevious))] public virtual ProcessMapPlanOperationDeterminationOfOscillationAngles? Previous { get; set; } }