40 lines
773 B
Java
40 lines
773 B
Java
package com.peanut.modules.book.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import lombok.Data;
|
|
|
|
import java.util.Date;
|
|
|
|
@Data
|
|
@TableName("book_teach")
|
|
public class BookTeachEntity {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@TableId
|
|
@TableField("teach_id")
|
|
private Integer teachID;
|
|
@TableField("book_id")
|
|
private Integer bookId;
|
|
|
|
private Integer chapter;
|
|
|
|
private String voices;
|
|
|
|
private String content;
|
|
|
|
@TableField("create_time")
|
|
private Date createTime;
|
|
|
|
@TableField("del_flag")
|
|
@TableLogic
|
|
private Integer delFlag;
|
|
|
|
|
|
|
|
|
|
|
|
}
|