UserClass.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 UserClass {
  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 Long user_id;
  36. //部门id
  37. private Long dept_id;
  38. //班次类型(早、中、晚、全天)
  39. private Integer class_type;
  40. private String user_name ;
  41. private Integer lane;
  42. private Integer class_flag ;
  43. private Long monitor_user_id;
  44. private List<UnregularUserClass> list ;
  45. }