DD.WellWorkover.Cloud/AsbCloudDb/Model/ProcessMapPlan/ProcessMapPlanRotorLoweringBit.cs

31 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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_rotor_lowering_bit"), Comment("РТК подход к забою в роторе")]
public class ProcessMapPlanRotorLoweringBit : ProcessMapPlanBase
{
[Column("time_load_capacity_min"), Comment("Время выработки минимальное, сек")]
[Range(0.0, 800.0)]
[Required]
public double TimeLoadCapacityMin { get; set; }
[Column("differential_pressure_min"), Comment("Перепад давления минимальный, атм")]
[Range(0.1, 400.0)]
[Required]
public double DifferentialPressureMin { get; set; }
[Column("weight_on_bit_min"), Comment("Нагрузка минимальная, т")]
[Range(0.1, 99.0)]
[Required]
public double WeightOnBitMin { get; set; }
[Column("note"), Comment("Примечание"), StringLength(1024)]
public string Note { get; set; } = string.Empty;
[ForeignKey(nameof(IdPrevious))]
public virtual ProcessMapPlanLoadCapacity? Previous { get; set; }
}