forked from ddrilling/AsbCloudServer
66 lines
2.5 KiB
C#
66 lines
2.5 KiB
C#
using Microsoft.EntityFrameworkCore;
|
||
using System;
|
||
using System.ComponentModel.DataAnnotations;
|
||
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
||
namespace AsbCloudDb.Model
|
||
{
|
||
#nullable enable
|
||
[Table("t_process_map"), Comment("Операции по скважине – РТК")]
|
||
public class ProcessMap : IId, IWellRelated
|
||
{
|
||
[Key]
|
||
[Column("id")]
|
||
public int Id { get; set; }
|
||
|
||
[Column("well_id"), Comment("Id скважины")]
|
||
public int IdWell { get; set; }
|
||
|
||
[Column("section"), Comment("Секция")]
|
||
public int Section { get; set; }
|
||
|
||
[Column("last_update", TypeName = "timestamp with time zone"), Comment("Дата последнего изменения")]
|
||
public DateTimeOffset LastUpdate { get; set; }
|
||
|
||
[Column("depth_start"), Comment("Стартовая глубина")]
|
||
public double DepthStart { get; set; }
|
||
|
||
[Column("depth_end"), Comment("Глубина окончания интервала")]
|
||
public double DepthEnd { get; set; }
|
||
|
||
[Column("axial_load_plan"), Comment("Нагрузка, план")]
|
||
public double AxialLoadPlan { get; set; }
|
||
|
||
[Column("axial_load_fact"), Comment("Нагрузка, факт")]
|
||
public double? AxialLoadFact { get; set; }
|
||
|
||
[Column("pressure_plan"), Comment("Перепад давления, план")]
|
||
public double PressurePlan { get; set; }
|
||
|
||
[Column("pressure_fact"), Comment("Перепад давления, факт")]
|
||
public double? PressureFact { get; set; }
|
||
|
||
[Column("rotor_torque_plan"), Comment("Момент на ВСП, план")]
|
||
public double RotorTorquePlan { get; set; }
|
||
|
||
[Column("rotor_torque_fact"), Comment("Момент на ВСП, факт")]
|
||
public double? RotorTorqueFact { get; set; }
|
||
|
||
[Column("rotor_speed_plan"), Comment("Обороты на ВСП, план")]
|
||
public double RotorSpeedPlan { get; set; }
|
||
|
||
[Column("rotor_speed_fact"), Comment("Обороты на ВСП, факт")]
|
||
public double? RotorSpeedFact { get; set; }
|
||
|
||
[Column("flow_plan"), Comment("Расход, план")]
|
||
public double FlowPlan { get; set; }
|
||
|
||
[Column("flow_fact"), Comment("Расход, факт")]
|
||
public double? FlowFact { get; set; }
|
||
|
||
[Column("mechanical_speed_plan"), Comment("Плановая механическая скорость, м/ч")]
|
||
public double MechanicalSpeedPlan { get; set; }
|
||
}
|
||
#nullable disable
|
||
}
|