forked from ddrilling/AsbCloudServer
21 lines
764 B
C#
21 lines
764 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_auto_hold_tf"), Comment("Автоудержание TF")]
|
|
public class ProcessMapPlanAutoHoldTF : ProcessMapPlanBase
|
|
{
|
|
[Column("zenit_angle"), Comment("Зенитный угол, градусы")]
|
|
[Range(0.0, 100.0)]
|
|
[Required]
|
|
public double ZenithAngle { get; set; }
|
|
|
|
[Column("note"), Comment("Примечание"), StringLength(1024)]
|
|
public string Note { get; set; } = string.Empty;
|
|
|
|
[ForeignKey(nameof(IdPrevious))]
|
|
public virtual ProcessMapPlanAutoHoldTF? Previous { get; set; }
|
|
} |