package com.cirle.scientific.po;/*
 *24901
 *2022/12/21
 *17:17
 */

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author 24901
 */
@Entity
@Table(name = "qkj_examine_record_app")
@Data
@ApiModel
@EntityListeners(AuditingEntityListener.class)
public class QkjExamineRecordApp {

    @javax.persistence.Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "用户ID")
    private String memCard;

    @ApiModelProperty(value = "1:理论考试 2：技能考试")
    private Integer type;

    @ApiModelProperty(value = "1:暂存 2：保存")
    private Integer saveType;

    @ApiModelProperty(value = "分数")
    private Integer score;

    @ApiModelProperty(value = "考试结果 0 待审核 1：未通过 2 已通过")
    private Integer result;

    @ApiModelProperty(value = "技能考试的路径")
    private String url;

    @ApiModelProperty(value = "评价")
    private String appraise;

    @CreatedDate
    @Column(nullable = false, updatable = false)
    private LocalDateTime createTime;

    @LastModifiedDate
    @Column()
    private LocalDateTime updateTime;


}
