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; }
}