InfraStudentPageReqVO 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. package com.jt.cloud.module.infra.controller.admin.demo.vo;
  2. import lombok.*;
  3. import java.util.*;
  4. import io.swagger.v3.oas.annotations.media.Schema;
  5. import com.jt.cloud.framework.common.pojo.PageParam;
  6. import org.springframework.format.annotation.DateTimeFormat;
  7. import java.time.LocalDateTime;
  8. import static com.jt.cloud.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
  9. @Schema(description = "管理后台 - 学生分页 Request VO")
  10. @Data
  11. @EqualsAndHashCode(callSuper = true)
  12. @ToString(callSuper = true)
  13. public class InfraStudentPageReqVO extends PageParam {
  14. @Schema(description = "名字", example = "芋头")
  15. private String name;
  16. @Schema(description = "出生日期")
  17. private LocalDateTime birthday;
  18. @Schema(description = "性别", example = "1")
  19. private Integer sex;
  20. @Schema(description = "是否有效", example = "true")
  21. private Boolean enabled;
  22. @Schema(description = "创建时间")
  23. @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
  24. private LocalDateTime[] createTime;
  25. }