forked from ddrilling/AsbCloudServer
45 lines
1.7 KiB
C#
45 lines
1.7 KiB
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_functions_drilltest"), Comment("Дрилтест")]
|
||
public class ProcessMapPlanFunctionsDrillTest : ProcessMapPlanBase
|
||
{
|
||
[Column("weight_on_bit_min"), Comment("Нагрузка минимальная, т")]
|
||
[Range(1.0, 30.0)]
|
||
[Required]
|
||
public double WeightOnBitMin { get; set; }
|
||
|
||
[Column("number_of_steps_bit"), Comment("Количество шагов по нагрузке")]
|
||
[Range(1, 5)]
|
||
[Required]
|
||
public int NumberOfStepsBit { get; set; }
|
||
|
||
[Column("revolution_per_minute_min"), Comment("Минимальные обороты на ВСП, об/мин.")]
|
||
[Range(5, 200)]
|
||
[Required]
|
||
public int RevolutionPerMinuteMin { get; set; }
|
||
|
||
[Column("number_of_steps_rpm"), Comment("Количество шагов оборотов на ВСП, шт.")]
|
||
[Range(1, 5)]
|
||
[Required]
|
||
public int NumberOfStepsRPM { get; set; }
|
||
|
||
[Column("length_step"), Comment("Величина проходки шага, м.")]
|
||
[Range(0.1, 2.0)]
|
||
[Required]
|
||
public double LengthStep { get; set; }
|
||
|
||
[Column("id_autostart_or_warning"), Comment("Автозапуск или Предупреждение")]
|
||
[Required]
|
||
public int IdAutostartOrWarning { get; set; }
|
||
|
||
[Column("note"), Comment("Примечание"), StringLength(1024)]
|
||
public string Note { get; set; } = string.Empty;
|
||
|
||
[ForeignKey(nameof(IdPrevious))]
|
||
public virtual ProcessMapPlanFunctionsDrillTest? Previous { get; set; }
|
||
} |