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 UnregularUserClass { //编号 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; @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") private Date update_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; // sys_user_class id private Long class_id ; private Long monitor_user_id; }