package org.jeecg.modules.dry.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
import org.jeecg.common.aspect.annotation.Dict;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* @Description: dry_herb_info
|
* @Author: jeecg-boot
|
* @Date: 2023-12-21
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("dry_herb_info")
|
@Accessors(chain = true)
|
@EqualsAndHashCode(callSuper = false)
|
@ApiModel(value="dry_herb_info对象", description="dry_herb_info")
|
public class DryHerbInfo implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**id*/
|
@TableId(type = IdType.ASSIGN_ID)
|
@ApiModelProperty(value = "id")
|
private String id;
|
/**中药名*/
|
@Excel(name = "中药名", width = 15)
|
@ApiModelProperty(value = "中药名")
|
private String name;
|
/**拼音*/
|
@Excel(name = "拼音", width = 15)
|
@ApiModelProperty(value = "拼音")
|
private String pinyin;
|
/**别名*/
|
@Excel(name = "别名", width = 15)
|
@ApiModelProperty(value = "别名")
|
private String alias;
|
/**英文名*/
|
@Excel(name = "英文名", width = 15)
|
@ApiModelProperty(value = "英文名")
|
private String english;
|
/**药材分类*/
|
@Excel(name = "药材分类", width = 15, dictTable = "dry_herb_type", dicText = "name", dicCode = "id")
|
@Dict(dictTable = "dry_herb_type", dicText = "name", dicCode = "id")
|
@ApiModelProperty(value = "药材分类")
|
private String type;
|
/**药用部位*/
|
@Excel(name = "药用部位", width = 15)
|
@ApiModelProperty(value = "药用部位")
|
private String parts;
|
/**植物形态*/
|
@Excel(name = "植物形态", width = 15)
|
@ApiModelProperty(value = "植物形态")
|
private String morphology;
|
/**产地分布*/
|
@Excel(name = "产地分布", width = 15)
|
@ApiModelProperty(value = "产地分布")
|
private String origin;
|
/**采收加工*/
|
@Excel(name = "采收加工", width = 15)
|
@ApiModelProperty(value = "采收加工")
|
private String harvest;
|
/**药材性状*/
|
@Excel(name = "药材性状", width = 15)
|
@ApiModelProperty(value = "药材性状")
|
private String characterDrug;
|
/**性味归经*/
|
@Excel(name = "性味归经", width = 15)
|
@ApiModelProperty(value = "性味归经")
|
private String famt;
|
/**功效与作用*/
|
@Excel(name = "功效与作用", width = 15)
|
@ApiModelProperty(value = "功效与作用")
|
private String efficacy;
|
/**临床应用*/
|
@Excel(name = "临床应用", width = 15)
|
@ApiModelProperty(value = "临床应用")
|
private String clinical;
|
/**药理研究*/
|
@Excel(name = "药理研究", width = 15)
|
@ApiModelProperty(value = "药理研究")
|
private String pharmacological;
|
/**主要成分*/
|
@Excel(name = "主要成分", width = 15)
|
@ApiModelProperty(value = "主要成分")
|
private String bases;
|
/**使用禁忌*/
|
@Excel(name = "使用禁忌", width = 15)
|
@ApiModelProperty(value = "使用禁忌")
|
private String usageTaboo;
|
/**创建人*/
|
@ApiModelProperty(value = "创建人")
|
private String createBy;
|
/**创建日期*/
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
@ApiModelProperty(value = "创建日期")
|
private Date createTime;
|
/**更新人*/
|
@ApiModelProperty(value = "更新人")
|
private String updateBy;
|
/**更新日期*/
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
@ApiModelProperty(value = "更新日期")
|
private Date updateTime;
|
}
|