60 lines
1.1 KiB
Java
60 lines
1.1 KiB
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.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 int sort;
|
|
|
|
@TableField(exist = false)
|
|
private String provinceName;
|
|
|
|
@TableLogic
|
|
private Integer delFlag;
|
|
|
|
|
|
}
|