2021-05-18 12:33:23 +05:00
|
|
|
|
using System;
|
2021-05-20 14:30:25 +05:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2021-05-18 12:33:23 +05:00
|
|
|
|
|
|
|
|
|
namespace AsbCloudDb.Model
|
|
|
|
|
{
|
2021-05-20 14:30:25 +05:00
|
|
|
|
[Table("t_report"), Comment("Отчеты с данными по буровым")]
|
2021-05-18 12:33:23 +05:00
|
|
|
|
public class Report : IId, IIdTelemetryDate
|
|
|
|
|
{
|
2021-05-20 14:30:25 +05:00
|
|
|
|
[Key]
|
|
|
|
|
[Column("id")]
|
2021-05-18 12:33:23 +05:00
|
|
|
|
public int Id { get; set; }
|
2021-05-20 14:30:25 +05:00
|
|
|
|
[Column("id_telemetry")]
|
2021-05-18 12:33:23 +05:00
|
|
|
|
public int IdTelemetry { get; set; }
|
2021-05-20 14:30:25 +05:00
|
|
|
|
[Column("id_well"), Comment("id скважины")]
|
|
|
|
|
public int WellId { get; set; }
|
|
|
|
|
[Column("date", TypeName = "timestamp with time zone")]
|
2021-05-18 12:33:23 +05:00
|
|
|
|
public DateTime Date { get; set; }
|
2021-05-20 14:30:25 +05:00
|
|
|
|
[Column("begin", TypeName = "timestamp with time zone")]
|
|
|
|
|
public DateTime Begin { get; set; }
|
|
|
|
|
[Column("end"), Comment("timestamp with time zone")]
|
|
|
|
|
public DateTime End { get; set; }
|
2021-05-24 16:31:02 +05:00
|
|
|
|
[Column("step"), Comment("размер шага в секундах")]
|
2021-05-20 14:30:25 +05:00
|
|
|
|
public int Step { get; set; }
|
|
|
|
|
[Column("format"), Comment("Формат отчета")]
|
|
|
|
|
public int Format { get; set; }
|
|
|
|
|
|
2021-05-18 12:33:23 +05:00
|
|
|
|
}
|
|
|
|
|
}
|