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

76 lines
3.0 KiB
C#
Raw Normal View History

using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace AsbCloudDb.Model
{
2022-12-26 15:49:44 +05:00
#nullable enable
[Table("t_planned_trajectory"), Comment("Загрузка плановой траектории")]
2022-12-26 15:49:44 +05:00
public class PlannedTrajectory : IId, IWellRelated
{
[Column("id"), Key]
public int Id { get; set; }
[Column("id_user"), Comment("ID пользователя который внес/изменил запись")]
public int IdUser { get; set; }
[Column("id_well"), Comment("ID скважины")]
public int IdWell { get; set; }
2022-12-26 15:49:44 +05:00
[Column("update_date"), Comment("Дата загрузки траектории")]
public DateTimeOffset UpdateDate { get; set; }
[Column("wellbore_depth"), Comment("Глубина по стволу")]
2022-12-26 15:49:44 +05:00
public double? WellboreDepth { get; set; }
[Column("zenith_angle"), Comment("Угол зенитный")]
2022-12-26 15:49:44 +05:00
public double? ZenithAngle { get; set; }
[Column("azimuth_geo"), Comment("Азимут Географ.")]
2022-12-26 15:49:44 +05:00
public double? AzimuthGeo { get; set; }
[Column("azimuth_magnetic"), Comment("Азимут Магнитный")]
2022-12-26 15:49:44 +05:00
public double? AzimuthMagnetic { get; set; }
[Column("vertical_depth"), Comment("Глубина вертикальная")]
2022-12-26 15:49:44 +05:00
public double? VerticalDepth { get; set; }
[Column("absolute_mark"), Comment("Абсолютная отметка")]
2022-12-26 15:49:44 +05:00
public double? AbsoluteMark { get; set; }
[Column("north_orifice"), Comment("Север отн-но устья")]
2022-12-26 15:49:44 +05:00
public double? NorthOrifice { get; set; }
[Column("east_orifice"), Comment("Восток отн-но устья")]
2022-12-26 15:49:44 +05:00
public double? EastOrifice { get; set; }
[Column("east_cartographic"), Comment("Восток картографический")]
2022-12-26 15:49:44 +05:00
public double? EastCartographic { get; set; }
[Column("north_cartographic"), Comment("Север картографический")]
2022-12-26 15:49:44 +05:00
public double? NorthCartographic { get; set; }
[Column("spatial_intensity"), Comment("Пространственная интенсивность")]
2022-12-26 15:49:44 +05:00
public double? SpatialIntensity { get; set; }
[Column("angle_intensity"), Comment("Интенсивность по углу")]
2022-12-26 15:49:44 +05:00
public double? AngleIntensity { get; set; }
[Column("azimuth_intensity"), Comment("Интенсивность по азимуту")]
2022-12-26 15:49:44 +05:00
public double? AzimuthIntensity { get; set; }
[Column("orifice_offset"), Comment("Смещение от устья")]
2022-12-26 15:49:44 +05:00
public double? OrificeOffset { get; set; }
[Column("comment"), Comment("Комментарии")]
2022-12-26 15:49:44 +05:00
public string? Comment { get; set; }
[ForeignKey(nameof(IdWell))]
2022-12-26 15:49:44 +05:00
public virtual Well Well { get; set; } = null!;
[ForeignKey(nameof(IdUser))]
2022-12-26 15:49:44 +05:00
public virtual User User { get; set; } = null!;
}
}