RequestGenAgvSchedulingTask.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace ProjectManagementSystem.Common.Models
  8. {
  9. public class RequestGenAgvSchedulingTask
  10. {
  11. [Required]
  12. [MaxLength(64)]
  13. public string reqCode { get; set; }
  14. [Required]
  15. [MaxLength(32)]
  16. public string taskType { get; set; }
  17. [Required]
  18. [MaxLength(64)]
  19. public string taskCode { get; set; }
  20. [MaxLength(50)]
  21. public string barcode { get; set; }
  22. [MaxLength(16)]
  23. public string podCode { get; set; }
  24. [MaxLength(16)]
  25. public string podTyp { get; set; }
  26. [Required]
  27. public List<PositionCodePath> positionCodePath { get; set; }
  28. [Required]
  29. [MaxLength(50)]
  30. public string reqTime { get; set; }
  31. [MaxLength(32)]
  32. public string sourceZoneNo { get; set; }
  33. [MaxLength(32)]
  34. public string zoneNo { get; set; }
  35. [MaxLength(2000)]
  36. public string data { get; set; }
  37. }
  38. public class PositionCodePath
  39. {
  40. [Required]
  41. [MaxLength(50)]
  42. public string positionCode { get; set; }
  43. public string type { get; set; }
  44. }
  45. }