郑永安
2023-06-19 f65443d8abeaedc9d102324565e8368e7c9d90c8
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
74
75
76
77
78
79
80
package com.gk.firework.Domain;
 
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
 
import java.io.Serializable;
 
@TableName("district")
public class DistrictInfo implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
 
    @TableId(type = IdType.AUTO)
    private Long id;
 
    /**   code **/
    private String code;
 
    /**   name **/
    private String name;
 
    /**   parentcode **/
    private String parentcode;
 
    /** 1省份2城市3区县4乡镇5居委会  type **/
    private Byte type;
 
    /**     id   **/
    public Long getId() {
        return id;
    }
 
    /**     id   **/
    public void setId(Long id) {
        this.id = id;
    }
 
    /**     code   **/
    public String getCode() {
        return code;
    }
 
    /**     code   **/
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }
 
    /**     name   **/
    public String getName() {
        return name;
    }
 
    /**     name   **/
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }
 
    /**     parentcode   **/
    public String getParentcode() {
        return parentcode;
    }
 
    /**     parentcode   **/
    public void setParentcode(String parentcode) {
        this.parentcode = parentcode == null ? null : parentcode.trim();
    }
 
    /**   1省份2城市3区县4乡镇5居委会  type   **/
    public Byte getType() {
        return type;
    }
 
    /**   1省份2城市3区县4乡镇5居委会  type   **/
    public void setType(Byte type) {
        this.type = type;
    }
}