package com.highdatas.mdm.entity;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author kimi
|
* @since 2019-12-16
|
*/
|
@TableName("dictionary")
|
public class Dictionary extends Model<Dictionary> {
|
|
private static final long serialVersionUID = 1L;
|
|
private String id;
|
|
private String type;
|
|
private String code;
|
|
private String name;
|
|
public String getId() {
|
return id;
|
}
|
|
public Dictionary setId(String id) {
|
this.id = id;
|
return this;
|
}
|
public String getType() {
|
return type;
|
}
|
|
public Dictionary setType(String type) {
|
this.type = type;
|
return this;
|
}
|
public String getCode() {
|
return code;
|
}
|
|
public Dictionary setCode(String code) {
|
this.code = code;
|
return this;
|
}
|
public String getName() {
|
return name;
|
}
|
|
public Dictionary setName(String name) {
|
this.name = name;
|
return this;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "Dictionary{" +
|
"id=" + id +
|
", type=" + type +
|
", code=" + code +
|
", name=" + name +
|
"}";
|
}
|
}
|