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

18 lines
737 B
C#
Raw Normal View History

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_recording_static_measurement"), Comment("Запись статического замера")]
public class ProcessMapPlanRecordingStaticMeasurement : ProcessMapPlanBase
{
[Column("measurement_recording_time"), Comment("Время записи замера, сек")]
[Range(0.0, 1800.0)]
[Required]
public double MeasurementRecordingTime { get; set; }
[ForeignKey(nameof(IdPrevious))]
public virtual ProcessMapPlanRecordingStaticMeasurement? Previous { get; set; }
}