Пуш файла ProcessMapPlanOperationSwitchMode.cs

This commit is contained in:
Olga Nemt 2024-06-26 09:59:44 +05:00
parent a8177fc076
commit e1c80c65b6

View File

@ -5,17 +5,26 @@ using Microsoft.EntityFrameworkCore;
namespace AsbCloudDb.Model.ProcessMaps; namespace AsbCloudDb.Model.ProcessMaps;
[Table("t_process_map_plan_section"), Comment("Конструкция скважины")] [Table("t_process_map_plan_operation_switch_mode"), Comment("Выход на режим")]
public class ProcessMapPlanOperationSwitchMode : ProcessMapPlanBase public class ProcessMapPlanOperationSwitchMode : ProcessMapPlanBase
{ {
[Column("outer_diameter"), Comment("Диаметр секции, мм., наружный")] [Column("exit_time_consumption"), Comment("Выход на плановый расход, время выхода буровых насосов на плановый расход, сек.")]
[Range(0.0, 9999.9)] [Range(0.0, 3600.0)]
public double OuterDiameter { get; set; } [Required]
public double ExitTimeConsumption { get; set; }
[Column("inner_diameter"), Comment("Диаметр секции, мм., внутренний")] [Column("consumption_flow_rate"), Comment("Выход на плановый расход, расход, л/с")]
[Range(0.0, 9999.9)] [Range(0.0, 100.0)]
public double InnerDiameter { get; set; } [Required]
public double ConsumptionFlowRate { get; set; }
[Column("pressure_limit_Max"), Comment("Максимально допустимое давление, атм.")]
[Range(0.0, 400.0)]
[Required]
public double PressureLimitMax { get; set; }
[Column("сomment"), Comment("Комментарий")]
public double Comment { get; set; }
[ForeignKey(nameof(IdPrevious))] [ForeignKey(nameof(IdPrevious))]
public virtual ProcessMapPlanOperationSwitchMode? Previous { get; set; } public virtual ProcessMapPlanOperationSwitchMode? Previous { get; set; }