TeamClass.java 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. package com.xintong.visualinspection.pojo;
  2. import java.util.Date;
  3. import java.util.List;
  4. import javax.validation.constraints.NotNull;
  5. import org.springframework.format.annotation.DateTimeFormat;
  6. import com.fasterxml.jackson.annotation.JsonFormat;
  7. import lombok.Data;
  8. /**
  9. * 文件名:ScoreDeducting
  10. * 版本信息:日期:2017/4/18 Copyright 江苏省交通规划设计院 Corporation 2017 版权所有.
  11. */
  12. @Data
  13. public class TeamClass {
  14. //编号
  15. private Long id;
  16. //上班日期
  17. @NotNull
  18. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  19. @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  20. private Date work_date;
  21. //上班时间
  22. @NotNull
  23. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  24. @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  25. private Date start_time;
  26. //下班时间
  27. @NotNull
  28. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  29. @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  30. private Date end_time;
  31. //班组id
  32. private Long team_id;
  33. //人员ids
  34. private String user_ids;
  35. //人员id
  36. private Long user_id;
  37. //部门id
  38. private Long dept_id;
  39. //班次类型(早、中、晚、全天)
  40. private Integer class_type;
  41. private String team_name ;
  42. private Integer lane ;
  43. //有无顶班
  44. private Integer class_flag ;
  45. //人员id
  46. private List<String> user_arr;
  47. private Long class_id;
  48. private Long unregular_id;
  49. //该人员被稽查的频度
  50. private int checkcount;
  51. }