DD.WellWorkover.Cloud/AsbCloudDb/Model/ProcessMapPlan/Functions/ProcessMapPlanDamper.cs

21 lines
706 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
2024-06-26 13:01:06 +05:00
using System.ComponentModel.DataAnnotations.Schema;
using AsbCloudDb.Model.ProcessMapPlan;
using Microsoft.EntityFrameworkCore;
namespace AsbCloudDb.Model.ProcessMapPlan.Functions;
2024-06-26 13:01:06 +05:00
[Table("t_process_map_plan_functions_damper"), Comment("Демпфер")]
2024-06-29 23:32:34 +05:00
public class ProcessMapPlanDamper : ProcessMapPlanBase
2024-06-26 13:01:06 +05:00
{
2024-06-29 23:32:34 +05:00
[Column("stick_slip"), Comment("StickSlip")]
2024-06-26 13:01:06 +05:00
[Range(0.0, 1000.0)]
[Required]
public double StickSlip { get; set; }
[Column("note"), Comment("Примечание"), StringLength(1024)]
public string? Note { get; set; }
2024-06-26 13:01:06 +05:00
[ForeignKey(nameof(IdPrevious))]
2024-06-29 23:32:34 +05:00
public virtual ProcessMapPlanDamper? Previous { get; set; }
2024-06-26 13:01:06 +05:00
}