TbxXrBook.java 2.82 KB
package cn.bxe.updatevideo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 小睿书籍
 * </p>
 *
 * @author ting
 * @since 2023-01-17
 */
@TableName("tbx_xr_book")
public class TbxXrBook implements Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    private static final long serialVersionUID = 1L;

    /**
     * 书籍ID
     */
    private Integer textbookId;

    /**
     * 书名
     */
    private String bookName;

    /**
     * 年级
     */
    private String gradeCode;

    /**
     * 科目
     */
    private String subject;

    /**
     * 教材版本
     */
    private String textbookVersion;

    /**
     * 学期
     */
    private Integer term;

    /**
     * 记录状态@10,正常|30,删除状态
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Long createTime;

    public Integer getTextbookId() {
        return textbookId;
    }

    public void setTextbookId(Integer textbookId) {
        this.textbookId = textbookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getGradeCode() {
        return gradeCode;
    }

    public void setGradeCode(String gradeCode) {
        this.gradeCode = gradeCode;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getTextbookVersion() {
        return textbookVersion;
    }

    public void setTextbookVersion(String textbookVersion) {
        this.textbookVersion = textbookVersion;
    }

    public Integer getTerm() {
        return term;
    }

    public void setTerm(Integer term) {
        this.term = term;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "TbxXrBook{" +
                "textbookId=" + textbookId +
                ", bookName='" + bookName + '\'' +
                ", gradeCode='" + gradeCode + '\'' +
                ", subject='" + subject + '\'' +
                ", textbookVersion='" + textbookVersion + '\'' +
                ", term=" + term +
                ", status=" + status +
                ", createTime=" + createTime +
                '}';
    }
}