package com.qmth.jkserver.model;

//import java.io.Serializable;
//import java.util.Date;
//import java.util.Map;
//
//import org.springframework.data.annotation.Id;
//import org.springframework.data.mongodb.core.index.CompoundIndex;
//import org.springframework.data.mongodb.core.index.CompoundIndexes;
//import org.springframework.data.mongodb.core.mapping.Document;
//import org.springframework.data.mongodb.core.mapping.Field;
//
///**
// * 考生附加信息临时表
// *
// * @author tianjun
// *
// */
//@Document(collection = "jk_exam_student_additional_temp")
//@CompoundIndexes({
//		@CompoundIndex(name = "exam_student_additional_temp_idx", def = "{'exam_code': 1,'attachment_id' : 1}")
//	})
//public class ExamStudentAdditionalTemp implements Serializable {
//
//	/**
//	 *
//	 */
//	private static final long serialVersionUID = -5384871460151753678L;
//
//	@Id
//	private String id;
//
//	@Field("exam_code")
//	private String examCode;
//
//	// 导入的考务文件的ID
//	@Field("attachment_id")
//	private String attachmentId;
//
//	//准考证号
//	@Field("student_id")
//	private String studentId;
//
//	//科目编码
//	@Field("course_code")
//	private String courseCode;
//
//	//科目名称
//	@Field("course_name")
//	private String courseName;
//
//	//数据对象
//	@Field("data")
//	private Map<String, String> data;
//
//	@Field("create_time")
//	private Date createTime;
//
//	public String getCourseName() {
//		return courseName;
//	}
//
//	public void setCourseName(String courseName) {
//		this.courseName = courseName;
//	}
//
//	public String getStudentId() {
//		return studentId;
//	}
//
//	public void setStudentId(String studentId) {
//		this.studentId = studentId;
//	}
//
//	public String getCourseCode() {
//		return courseCode;
//	}
//
//	public void setCourseCode(String courseCode) {
//		this.courseCode = courseCode;
//	}
//
//	public String getId() {
//		return id;
//	}
//
//	public void setId(String id) {
//		this.id = id;
//	}
//
//	public String getExamCode() {
//		return examCode;
//	}
//
//	public void setExamCode(String examCode) {
//		this.examCode = examCode;
//	}
//
//	public String getAttachmentId() {
//		return attachmentId;
//	}
//
//	public void setAttachmentId(String attachmentId) {
//		this.attachmentId = attachmentId;
//	}
//
//	public Map<String, String> getData() {
//		return data;
//	}
//
//	public void setData(Map<String, String> data) {
//		this.data = data;
//	}
//
//	public Date getCreateTime() {
//		return createTime;
//	}
//
//	public void setCreateTime(Date createTime) {
//		this.createTime = createTime;
//	}
//
//
//}

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Map;

/**
 * <p>
 * 考务考生附加信息临时表
 * </p>
 *
 * @author wangliang
 * @since 2023-03-01
 */
@ApiModel(value = "JkExamStudentAdditionalTemp对象", description = "考务考生附加信息临时表")
@TableName("jk_exam_student_additional_temp")
public class ExamStudentAdditionalTemp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "考试编码")
    private String examCode;

    @ApiModelProperty(value = "学生id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long studentId;

    @ApiModelProperty(value = "科目编码")
    private String courseCode;

    @ApiModelProperty(value = "科目名称")
    private String courseName;

    @ApiModelProperty(value = "数据")
    private Map<String, String> data;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "附件id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long attachmentId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getExamCode() {
        return examCode;
    }

    public void setExamCode(String examCode) {
        this.examCode = examCode;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public String getCourseCode() {
        return courseCode;
    }

    public void setCourseCode(String courseCode) {
        this.courseCode = courseCode;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Map<String, String> getData() {
        return data;
    }

    public void setData(Map<String, String> data) {
        this.data = data;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getAttachmentId() {
        return attachmentId;
    }

    public void setAttachmentId(Long attachmentId) {
        this.attachmentId = attachmentId;
    }
}
