forked from ddrilling/AsbCloudServer
18 lines
675 B
C#
18 lines
675 B
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_survey"), Comment("Запись статического замера")]
|
|||
|
public class ProcessMapPlanSurvey : ProcessMapPlanBase
|
|||
|
{
|
|||
|
[Column("measurement_recording_time"), Comment("Время записи замера, сек")]
|
|||
|
[Range(0.0, 1800.0)]
|
|||
|
[Required]
|
|||
|
public double MeasurementRecordingTime { get; set; }
|
|||
|
|
|||
|
[ForeignKey(nameof(IdPrevious))]
|
|||
|
public virtual ProcessMapPlanSurvey? Previous { get; set; }
|
|||
|
}
|