/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.exam.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; /** * 实体类 * * @author Chill */ @Data @TableName("ksxt_exam") public class ExamPaper implements Serializable { private static final long serialVersionUID = 1L; /** * ID */ @ApiModelProperty(value = "id") @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 考试名称 */ private String examName; /** * 考试类型 */ private Integer examType; /** * 注意事项 */ private String examAttention; /** * 考试开始时间 */ private Date startTime; /** * 考试结束时间 */ private Date endTime; /** * 时间区间 */ private String examTime; /** * 总分 */ private String totalScore; /** * 状态 */ private Integer examStatus; /** * 创建人 */ private String creator; /** * 创建时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date creatorDate; /** * 备注 */ private String remark; /** * 培训考试id */ @TableField("train_exam_id") private Long trainExamId; /** * 审核状态 1:通过 2:不通过 3:待审核 */ @TableField("audit_status") private Integer auditStatus; /** * 审核明细 */ @TableField("audit_detail") private String auditDetail; /** * 审核时间 */ @TableField("audit_time") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date auditTime; /** * 考试人员确认确认人 */ @TableField("confirm_user") private String confirmUser; /** * 确认时间 */ @TableField("confirm_time") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date confirmTime; }