DD.WellWorkover.Cloud/AsbCloudDb/Model/TelemetryDataWellWorkover.cs

60 lines
2.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
namespace AsbCloudDb.Model
{
[Table("t_telemetry_data_well_workover"), Comment("набор основных данных для ТКРС")]
public partial class TelemetryDataWellWorkover : ITelemetryData
{
[Column("id_telemetry")]
public int IdTelemetry { get; set; }
[Column("id_user"), Comment("Пользователь ТКРС")]
public int? IdUser { get; set; }
[Column("date", TypeName = "timestamp with time zone"), Comment("'2021-10-19 18:23:54+05'")]
public DateTimeOffset DateTime { get; set; }
[Column("bit_depth"), Comment("Глубина инструмента, м ")]
public float BitDepth { get; set; }
[Column("block_position"), Comment("Высота крюкоблока, м")]
public float BlockPosition { get; set; }
[Column("hook_load"), Comment("Вес на крюке")]
public float HookLoad { get; set; }
[Column("trip_in_out_speed"), Comment("Скорость СПО, м/с")]
public float TripInOutSpeed { get; set; }
[Column("trip_tank_volume"), Comment("Объем доливной емкости (ДЕ), м3")]
public float TripTankVolume { get; set; }
[Column("mud_density"), Comment("Плотность жидкости в ДЕ, г/см3")]
public float MudDensity { get; set; }
[Column("flow_rate"), Comment("Расход доливаемой жидкости, м3/ч")]
public float FlowRate { get; set; }
[Column("well_level"), Comment("Уровень в скважине (по эхолоту), м")]
public float WellLevel { get; set; }
[Column("mud_temperature_in_blow_out_preventor"), Comment("Температура жидкости в отводе крестовины ПВО, С")]
public float MudTemperatureInBlowOutPreventor { get; set; }
[Column("gas_indications_CH4"), Comment("Газопоказания (СН4), %")]
public float GasIndicationsCH4 { get; set; }
[Column("gas_indications_H2S"), Comment("Газопоказания (Н2S), %")]
public float GasIndicationsH2S { get; set; }
[JsonIgnore]
[ForeignKey(nameof(IdTelemetry))]
[InverseProperty(nameof(Model.Telemetry.DataWellWorkover))]
public virtual Telemetry Telemetry { get; set; } = null!;
}
}