using System.ComponentModel.DataAnnotations; namespace ProductionLineMonitor.Core.Dtos { public class RecipeCreateOrUpdateDto { [Display(Name = "机种")] [Required(ErrorMessage = "{0}不能为空!")] public string ModuleType { get; set; } [Display(Name = "线别")] [Required(ErrorMessage = "{0}不能为空!")] public string ProductionLineId { get; set; } public int TheoryCapacity { get; set; } public float TheoryTT { get; set; } /// /// 理论换料时间 /// public float TheoryRefueledTime { get; set; } } }