TeamClass.java 1.6 KB

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