package com.cirle.scientific.po;/*
 *24901
 *2023/1/4
 *9:23
 */

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 javax.persistence.*;
import java.time.LocalDateTime;

@Entity
@Table(name = "qkj_supervise_app")
@Data
@ApiModel
public class QkjSuperviseApp {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "督导表id")
    private Long id;

    @ApiModelProperty(value = "用户唯一标识")
    private String memCard;

    @ApiModelProperty(value = "上传的结果文件url")
    private String resultFile;

    @ApiModelProperty(value = "0: 线上督导结果, 1:线下督导结果, 2:质控结果")
    private Integer type;

    @ApiModelProperty(value = "上传当前的年")
    private Integer year;

    @ApiModelProperty(value = "上传的月份")
    private Integer month;

    @ApiModelProperty(value = "状态 0:未删除 1删除")
    private Integer status;

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

    @LastModifiedDate
    @Column()
    private LocalDateTime updateTime;

}
