AddClassTimeStatisticsDto.java 934 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package com.xjrsoft.module.classtime.dto;
  2. import io.swagger.annotations.ApiModelProperty;
  3. import lombok.Data;
  4. import org.springframework.format.annotation.DateTimeFormat;
  5. import java.io.Serializable;
  6. import java.time.LocalDate;
  7. /**
  8. * @title: 课时统计
  9. * @Author dzx
  10. * @Date: 2024-09-26
  11. * @Version 1.0
  12. */
  13. @Data
  14. public class AddClassTimeStatisticsDto implements Serializable {
  15. private static final long serialVersionUID = 1L;
  16. /**
  17. * 统计年份
  18. */
  19. @ApiModelProperty("统计年份")
  20. private Integer year;
  21. /**
  22. * 统计月份
  23. */
  24. @ApiModelProperty("统计月份")
  25. private Integer month;
  26. /**
  27. * 开始日期
  28. */
  29. @DateTimeFormat(pattern = "yyyy-MM-dd")
  30. @ApiModelProperty("开始日期")
  31. private LocalDate startDate;
  32. /**
  33. * 结束日期
  34. */
  35. @DateTimeFormat(pattern = "yyyy-MM-dd")
  36. @ApiModelProperty("结束日期")
  37. private LocalDate endDate;
  38. }