forked from ddrilling/AsbCloudServer
22 lines
834 B
C#
22 lines
834 B
C#
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("Конструкция скважины")]
|
|
public class ProcessMapPlanOperationSwitchMode : ProcessMapPlanBase
|
|
{
|
|
[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))]
|
|
public virtual ProcessMapPlanOperationSwitchMode? Previous { get; set; }
|
|
} |