| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- package com.xintong.visualinspection.bean;
- import java.util.Date;
- import java.util.List;
- import javax.validation.constraints.NotNull;
- import org.hibernate.validator.constraints.NotEmpty;
- import org.springframework.format.annotation.DateTimeFormat;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import lombok.Data;
- /**
- * 文件名:ScoreDeducting
- * 版本信息:日期:2017/4/18 Copyright 江苏省交通规划设计院 Corporation 2017 版权所有.
- */
- @Data
- public class UserClass {
- //编号
- private Long id;
- //上班日期
- @NotNull
- @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
- @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
- private Date work_date;
- //上班时间
- @NotNull
- @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
- @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
- private Date start_time;
- //下班时间
- @NotNull
- @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
- @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
- private Date end_time;
- //班组id
- private Long team_id;
- //人员ids
- private Long user_id;
- //部门id
- private Long dept_id;
- //班次类型(早、中、晚、全天)
- private Integer class_type;
-
- private String user_name ;
-
- private Integer lane;
-
- private Integer class_flag ;
-
- private Long monitor_user_id;
-
- private List<UnregularUserClass> list ;
-
- }
|