package com.panzhihua.service_community.model.dos;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
|
/**
|
* @auther lyq
|
* @create 2021-05-19 14:17:46
|
* @describe 疫苗分类表实体类
|
*/
|
|
@Data
|
@TableName("com_mng_vaccines")
|
public class ComMngVaccinesDO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 疫苗分类名称
|
*/
|
private String name;
|
|
/**
|
* 疫苗分类描述
|
*/
|
@TableField("`describe`")
|
private String describe;
|
|
/**
|
* 状态(1.启用 2.禁用)
|
*/
|
private Integer status;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Date createAt;
|
|
/**
|
* 状态(1.启用 2.禁用)
|
*/
|
public interface status{
|
int yes = 1;
|
int no = 2;
|
}
|
|
@Override
|
public String toString() {
|
return "ComMngVaccinesDO{" +
|
"id=" + id +
|
", name=" + name +
|
", describe=" + describe +
|
", status=" + status +
|
", createAt=" + createAt +
|
"}";
|
}
|
}
|