package com.crm.rely.backend.model.pojo.table;

import com.crm.rely.backend.core.pojo.BaseTable;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "golden_question_custom")
public class GoldenQuestionCustomTable extends BaseTable {

    private Long customId;

    private Long questionId;

    /**
     * 问题
     */
    private String question;

    /**
     * 答案 0:错 1:对
     */
    private Integer answer;

    /**
     * 用户回答
     */
    private Integer customAnswer;

    /**
     * 是否正确 0:否 1:是
     */
    private Integer customRight;
}
