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

21 lines
686 B
C#
Raw Normal View History

using Microsoft.EntityFrameworkCore;
2021-07-21 15:29:19 +05:00
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace AsbCloudDb.Model
{
2021-07-27 13:32:00 +05:00
[Table("t_telemetry_operation"), Comment("Справочник операций на скважине")]
public class TelemetryOperation
{
[Key]
[Column("id")]
public int Id { get; set; }
[Column("name"), Comment("Название операции")]
public string Name { get; set; }
[InverseProperty(nameof(TelemetryAnalysis.Operation))]
public virtual ICollection<TelemetryAnalysis> Analysis { get; set; }
}
}