80 lines
1.1 KiB
Java
80 lines
1.1 KiB
Java
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;
|
|
|
|
@Data
|
|
@TableName("medicinal_materials")
|
|
public class MedicinalMaterials {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@TableId
|
|
private Integer id;
|
|
|
|
/**
|
|
* 名称
|
|
*/
|
|
private String name;
|
|
|
|
/**
|
|
* 图片
|
|
*/
|
|
private String img;
|
|
|
|
/**
|
|
* 简述
|
|
*/
|
|
private String description;
|
|
|
|
/**
|
|
* 拉丁名
|
|
*/
|
|
private String latinname;
|
|
|
|
/**
|
|
* 别名
|
|
*/
|
|
private String othername;
|
|
|
|
/**
|
|
* 功效
|
|
*/
|
|
private String effect;
|
|
|
|
/**
|
|
* 味
|
|
*/
|
|
private String taste;
|
|
|
|
/**
|
|
* 性
|
|
*/
|
|
private String property;
|
|
|
|
/**
|
|
* 归
|
|
*/
|
|
private String tropism;
|
|
|
|
/**
|
|
* 类型
|
|
*/
|
|
private String type;
|
|
|
|
/**
|
|
* 详细信息
|
|
*/
|
|
private String information;
|
|
|
|
/**
|
|
* 排序
|
|
*/
|
|
private Integer sort;
|
|
|
|
@TableLogic
|
|
private Integer delFlag;
|
|
|
|
}
|