kimi
2020-03-31 74472c9d22dddcb41383794caf0011043b20f817
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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-17
 */
@TableName("md_city")
public class MdCity extends Model<MdCity> {
 
    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 +
        "}";
    }
}