吴门医述
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
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.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@TableName("medicaldes_book")
|
||||
public class MedicaldesBook implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
private BookEntity book;
|
||||
@TableField(exist = false)
|
||||
private com.peanut.modules.book.entity.SysDictDataEntity sysDictData;
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
private Integer bookId;
|
||||
|
||||
/**
|
||||
* 书类型id,sys_dict_data-medicaldesBookType
|
||||
*/
|
||||
private Integer typeId;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
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.io.Serializable;
|
||||
|
||||
@Data
|
||||
@TableName("medicaldes_inherit")
|
||||
public class MedicaldesInherit implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Integer type;
|
||||
@TableField(exist = false)
|
||||
private Integer count;
|
||||
|
||||
/**
|
||||
* 传承人
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 超链接
|
||||
*/
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
private String img;
|
||||
|
||||
/**
|
||||
* 简介内容
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 所在城市
|
||||
*/
|
||||
private Integer cityId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String provinceName;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
@TableName("medicaldes_inherit_relation")
|
||||
public class MedicaldesInheritRelation implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* 传承人id
|
||||
*/
|
||||
private Integer inheritId;
|
||||
|
||||
/**
|
||||
* 传承人类型id,sys_dict_data表inheritType
|
||||
*/
|
||||
private Integer typeId;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
@TableName("medicaldes_light")
|
||||
public class MedicaldesLight implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 文件地址
|
||||
*/
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 类型1吴门之歌2巴山夜雨3吴门之徽
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user