diff --git a/ConfigEntity.java b/ConfigEntity.java new file mode 100644 index 0000000..d98c9bf --- /dev/null +++ b/ConfigEntity.java @@ -0,0 +1,55 @@ +package com.entity; + +import java.io.Serializable; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableName; +import com.baomidou.mybatisplus.enums.IdType; + +/** +* @author yangliyuan +* @version 创建时间:2020年2月7日 下午8:36:05 +* 类说明 : +*/ +@TableName("config") +public class ConfigEntity implements Serializable{ +private static final long serialVersionUID = 1L; + + @TableId(type = IdType.AUTO) + private Long id; + + /** + * key + */ + private String name; + + /** + * value + */ + private String value; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + +}