PlanDtos.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. namespace Admin.NET.Plugin.AiDOP.Dto;
  2. public class PlanCreateDto
  3. {
  4. public string PlanType { get; set; } = string.Empty;
  5. public string ProductName { get; set; } = string.Empty;
  6. public int Quantity { get; set; }
  7. public DateTime? StartDate { get; set; }
  8. public DateTime? EndDate { get; set; }
  9. public string Priority { get; set; } = "中";
  10. public string? Remark { get; set; }
  11. }
  12. public class PlanUpdateDto : PlanCreateDto
  13. {
  14. public string Status { get; set; } = string.Empty;
  15. }
  16. public class PlanDetailDto
  17. {
  18. public long Id { get; set; }
  19. public string PlanNo { get; set; } = string.Empty;
  20. public string PlanType { get; set; } = string.Empty;
  21. public string ProductName { get; set; } = string.Empty;
  22. public int Quantity { get; set; }
  23. public int CompletedQuantity { get; set; }
  24. public DateTime? StartDate { get; set; }
  25. public DateTime? EndDate { get; set; }
  26. public string Status { get; set; } = string.Empty;
  27. public string Priority { get; set; } = string.Empty;
  28. public string? Remark { get; set; }
  29. public DateTime CreatedTime { get; set; }
  30. public DateTime? UpdatedTime { get; set; }
  31. public string? CreatedBy { get; set; }
  32. }
  33. public class PlanQueryDto
  34. {
  35. public string? PlanNo { get; set; }
  36. public string? PlanType { get; set; }
  37. public string? Status { get; set; }
  38. public int Page { get; set; } = 1;
  39. public int PageSize { get; set; } = 10;
  40. }