DD.WellWorkover.Cloud/AsbCloudDb/Model/ProcessMapPlan/ProcessMapPlanSubsystems.cs
Степанов Дмитрий 2e7af2a8da Изменение модели.
1. Добавлена новая сущность
2. Добавлена миграция
2024-08-20 14:08:10 +05:00

24 lines
953 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace AsbCloudDb.Model.ProcessMapPlan;
[Table("t_process_map_plan_subsystems"), Comment("РТК план использование подсистем")]
public class ProcessMapPlanSubsystems : ProcessMapPlanBase
{
[Range(0.0, 100)]
[Column("auto_rotor"), Comment("Процент использования ротора")]
public double AutoRotor { get; set; }
[Range(0.0, 100)]
[Column("auto_slide"), Comment("Процент использования слайда")]
public double AutoSlide { get; set; }
[Range(0.0, 100)]
[Column("auto_oscillation"), Comment("Процент использования слайда с осцилляцией")]
public double AutoOscillation { get; set; }
[Column("note"), Comment("Примечание"), StringLength(1024)]
public string? Note { get; set; }
}