forked from ddrilling/AsbCloudServer
46 lines
1.5 KiB
C#
46 lines
1.5 KiB
C#
using System.ComponentModel.DataAnnotations;
|
||
using System.ComponentModel.DataAnnotations.Schema;
|
||
using AsbCloudDb.Model.ProcessMapPlan;
|
||
using Microsoft.EntityFrameworkCore;
|
||
|
||
namespace AsbCloudDb.Model.ProcessMapPlan.Functions;
|
||
|
||
[Table("t_process_map_shock_test"), Comment("ShockTest")]
|
||
public class ProcessMapPlanShockTest : ProcessMapPlanBase
|
||
{
|
||
[Column("stick_slip"), Comment("stickSlip")]
|
||
[Range(0.0, 1000.0)]
|
||
[Required]
|
||
public double StickSlip { get; set; }
|
||
|
||
[Column("whirl"), Comment("Whirl")]
|
||
[Range(0.0, 1000.0)]
|
||
[Required]
|
||
public double Whirl { get; set; }
|
||
|
||
[Column("axial_vibrations"), Comment("Осевые вибрации")]
|
||
[Range(0.0, 1000.0)]
|
||
[Required]
|
||
public double AxialVibrations { get; set; }
|
||
|
||
[Column("combined_vibrations"), Comment("Комбинированные вибрации")]
|
||
[Range(0.0, 1000.0)]
|
||
[Required]
|
||
public double CombinedVibrations { get; set; }
|
||
|
||
[Column("weight_on_bit_min"), Comment("Нагрузка минимальная, т")]
|
||
[Range(0.0, 30.0)]
|
||
[Required]
|
||
public double WeightOnBitMin { get; set; }
|
||
|
||
[Column("rpm_min"), Comment("Минимальные обороты на ВСП, об/мин.")]
|
||
[Range(5, 200)]
|
||
[Required]
|
||
public double RpmMin { get; set; }
|
||
|
||
[Column("note"), Comment("Примечание"), StringLength(1024)]
|
||
public string? Note { get; set; }
|
||
|
||
[ForeignKey(nameof(IdPrevious))]
|
||
public virtual ProcessMapPlanShockTest? Previous { get; set; }
|
||
} |