package com.ruoyi.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.common.annotation.Excel;
|
import lombok.Data;
|
import lombok.ToString;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author ojq
|
* @since 2023-03-12
|
*/
|
@TableName("zf_doctor")
|
@Data
|
@ToString
|
public class ZfDoctor implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 病的类型
|
*/
|
@Excel(name = "病的类型")
|
private String type;
|
|
/**
|
* 症状
|
*/
|
@Excel(name = "症状")
|
private String symptom;
|
|
/**
|
* 持续时间
|
*/
|
@Excel(name = "持续时间")
|
private String duration;
|
|
/**
|
* 处方
|
*/
|
@TableField(exist = false)
|
private String prescription;
|
|
/**
|
* 中医
|
*/
|
@Excel(name = "中医处方")
|
private String cmedical;
|
|
/**
|
* 西医
|
*/
|
@Excel(name = "西医处方")
|
private String wmedical;
|
|
/**
|
* 功效
|
*/
|
@Excel(name = "功效")
|
private String effect;
|
|
/**
|
* 适用人
|
*/
|
@Excel(name = "适用人")
|
private String suitable;
|
|
/**
|
* 备注
|
*/
|
@Excel(name = "备注")
|
private String remark;
|
|
private String url;
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date createTime;
|
|
private Long familyId;
|
|
@TableField(exist = false)
|
private Integer ownData;
|
|
private Long shareId;
|
}
|