2024-06-25 17:00:58 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using AsbCloudDb.Model.ProcessMapPlan;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudDb.Model.ProcessMaps;
|
|
|
|
|
|
|
|
|
|
[Table("t_process_map_plan_section"), Comment("Конструкция скважины")]
|
2024-06-25 17:11:30 +05:00
|
|
|
|
public class ProcessMapPlanOperationSwitchMode : ProcessMapPlanBase
|
2024-06-25 17:00:58 +05:00
|
|
|
|
{
|
|
|
|
|
[Column("outer_diameter"), Comment("Диаметр секции, мм., наружный")]
|
|
|
|
|
[Range(0.0, 9999.9)]
|
|
|
|
|
public double OuterDiameter { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("inner_diameter"), Comment("Диаметр секции, мм., внутренний")]
|
|
|
|
|
[Range(0.0, 9999.9)]
|
|
|
|
|
public double InnerDiameter { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ForeignKey(nameof(IdPrevious))]
|
2024-06-25 17:11:30 +05:00
|
|
|
|
public virtual ProcessMapPlanOperationSwitchMode? Previous { get; set; }
|
2024-06-25 17:00:58 +05:00
|
|
|
|
}
|