package com.cirle.scientific.po;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Entity
@Table(name = "qkj_question_answer")
@Data
@ApiModel
@JsonIgnoreProperties(ignoreUnknown = true)
public class QkjQuestionAnswer implements Serializable {

	private static final long serialVersionUID = -4530263139965671680L;

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

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

	@ApiModelProperty(value = "类型  1：直播 2：会议 3：课程")
	private Integer objType;

	@ApiModelProperty(value = "类型对应id")
	private Integer objId;
	
	@ApiModelProperty(value = "问题ID")
	private Integer quId;
	
	@ApiModelProperty(value = "问题类型")
	private Integer quType=0;
	
	@ApiModelProperty(value = "问题标题")
	private String quTitle;

	@ApiModelProperty(value = "回答内容")
	private String answerContent;

	@ApiModelProperty(value = "报名记录id（会议专用）")
	private Integer recordId;
}