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;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author kimi
|
* @since 2020-02-15
|
*/
|
@TableName("sys_dbtype")
|
public class SysDbtype extends Model<SysDbtype> {
|
|
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 +
|
"}";
|
}
|
}
|