package com.tzy.pojo.question;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table( name = "question")
@Data
@Accessors(chain = true)
public class Question implements Serializable {

  private Long id;
  private String type;
  private Long questionnaireId;
  private String questionText;
  private String questionChoiceText;
  @JsonIgnore
  private Integer status;
  @JsonIgnore
  private Date createTime;

}
