RecipeCreateOrUpdateDto.cs 663 B

1234567891011121314151617181920212223
  1. using System.ComponentModel.DataAnnotations;
  2. namespace ProductionLineMonitor.Core.Dtos
  3. {
  4. public class RecipeCreateOrUpdateDto
  5. {
  6. [Display(Name = "机种")]
  7. [Required(ErrorMessage = "{0}不能为空!")]
  8. public string ModuleType { get; set; }
  9. [Display(Name = "线别")]
  10. [Required(ErrorMessage = "{0}不能为空!")]
  11. public string ProductionLineId { get; set; }
  12. public int TheoryCapacity { get; set; }
  13. public float TheoryTT { get; set; }
  14. /// <summary>
  15. /// 理论换料时间
  16. /// </summary>
  17. public float TheoryRefueledTime { get; set; }
  18. }
  19. }