package com.cirle.scientific.po;

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.io.Serializable;
import java.time.LocalDateTime;

@Entity
@Data
@ApiModel
@Table(name="qkj_lung_report_understand_app")
@EntityListeners(AuditingEntityListener.class)
public class QkjLungReportUnderstandApp implements Serializable {

	private static final long serialVersionUID = -6764082986803883888L;

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

	/**
	 * 用户唯一标识
	 */
	private String memCard;

	/**
	 * 报告的图片路径
	 */
	private String imgUrl;
	/**
	 * 用户的解读
	 */
	private String understand;
	/**
	 * 状态 0:未审核 1已通过 2 未通过
	 */
	private Integer status;

	/**
	 * 评价
	 */
	private String appraise;


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

	@LastModifiedDate
	@Column()
	private LocalDateTime updateTime;



}
