WorkCalendarDateQueryVO.java 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. package com.persagy.calendar.pojo.vo;
  2. import java.util.Set;
  3. import javax.validation.constraints.NotBlank;
  4. import lombok.Getter;
  5. import lombok.Setter;
  6. import lombok.ToString;
  7. /**
  8. * 注意,此类不能添加集团编码作为查询条件,因为规则解析需要解析所有集团下的规则,除非后续修改了xxl-job的规则解析功能
  9. *
  10. * @version
  11. * @description
  12. * @company persagy
  13. * @author zhangqiankun
  14. * @since 2020年10月3日: 下午2:26:22
  15. */
  16. @Getter
  17. @Setter
  18. @ToString
  19. public class WorkCalendarDateQueryVO {
  20. @NotBlank(message = "用户ID不可为空")
  21. //@ApiModelProperty(value = "用户ID", required = true)
  22. private String userId;
  23. //@ApiModelProperty(name = "ID", value = "主键ID,更新时不可为空")
  24. private String id;
  25. //@ApiModelProperty(value = "集团编码", required = true)
  26. private String groupCode; // 集团编码
  27. //@ApiModelProperty(value = "项目ID", required = true)
  28. private String projectId; // 项目
  29. //@ApiModelProperty(value = "规则ID")
  30. private String ruleId; // 规则ID
  31. //@ApiModelProperty(value = "工作历ID")
  32. private String calendarId; // 工作历ID
  33. //@ApiModelProperty(value = "工作历名称")
  34. private String calendarName; // 工作历名称
  35. //@ApiModelProperty(value = "字典类型")
  36. private String dictType; // 字典类型
  37. //@ApiModelProperty(value = "字典类型")
  38. private Set<String> dictTypes; // 字典类型
  39. //@ApiModelProperty(value = "字典数据code")
  40. private Set<String> dictCode; // 字典数据code
  41. @NotBlank(message = "workDateStart不可为空[YYYYMMDD]")
  42. //@ApiModelProperty(value = "查询从此日开始的作息详情 [YYYYMMDD]")
  43. private String workDateStart; // 具体执行日期 YYYYMMDD
  44. @NotBlank(message = "workDateEnd不可为空[YYYYMMDD]")
  45. //@ApiModelProperty(value = "查询从此日结束的作息详情 [YYYYMMDD]")
  46. private String workDateEnd; // 具体执行日期 YYYYMMDD
  47. //@ApiModelProperty(value = "对象ID")
  48. private String objId; // 对象D
  49. }