package com.zhongzheng.modules.bank.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.zhongzheng.common.annotation.Excel;

/**
 * 题目业务层次关系对象 question_business
 *
 * @author hjl
 * @date 2021-10-25
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("question_business")
public class QuestionBusiness implements Serializable {

private static final long serialVersionUID=1L;

    public static final int TYPE_QUESTION = 1;
    public static final int TYPE_EXAM = 2;
    public static final int TYPE_QUESTION_CHAPTER = 3;
    public static final int TYPE_QUESTION_MODULE = 4;

    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;
    /** 教育类型id */
    private Long educationTypeId;
    /** 业务层次id */
    private Long businessId;
    /** 项目ID */
    private Long projectId;
    /** 科目id */
    private Long subjectId;
    /** $column.columnComment */
    private Long majorId;

    private Integer type;

    @TableField(exist = false)
    private String educationName;
    @TableField(exist = false)
    private String projectName;
    @TableField(exist = false)
    private String businessName;
    @TableField(exist = false)
    private String subjectName;
}
