package com.highdatas.mdm.entity; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableName; import com.highdatas.mdm.pojo.DbAccessType; import java.io.Serializable; /** *

* *

* * @author kimi * @since 2020-02-15 */ @TableName("sys_dbtype") public class SysDbtype extends Model { private static final long serialVersionUID = 1L; /* *主键 * */ private String id; /* *数据库类型 * */ private DbAccessType type; /* *名称 * */ private String name; /* *是否激活 * */ private Boolean active; public String getId() { return id; } public SysDbtype setId(String id) { this.id = id; return this; } public DbAccessType getType() { return type; } public SysDbtype setType(DbAccessType type) { this.type = type; return this; } public String getName() { return name; } public SysDbtype setName(String name) { this.name = name; return this; } public Boolean getActive() { return active; } public SysDbtype setActive(Boolean active) { this.active = active; return this; } @Override protected Serializable pkVal() { return this.id; } @Override public String toString() { return "SysDbtype{" + "id=" + id + ", type=" + type + ", name=" + name + ", active=" + active + "}"; } }