package com.highdatas.mdm.entity;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
/**
*
*
*
*
* @author kimi
* @since 2019-12-17
*/
@TableName("md_city")
public class MdCity extends Model {
private static final long serialVersionUID = 1L;
/**
* 代码
*/
private String id;
/**
* 类型
*/
private String type;
/**
* 名称
*/
private String name;
public String getId() {
return id;
}
public MdCity setId(String id) {
this.id = id;
return this;
}
public String getType() {
return type;
}
public MdCity setType(String type) {
this.type = type;
return this;
}
public String getName() {
return name;
}
public MdCity setName(String name) {
this.name = name;
return this;
}
@Override
protected Serializable pkVal() {
return this.id;
}
@Override
public String toString() {
return "MdCity{" +
"id=" + id +
", type=" + type +
", name=" + name +
"}";
}
}