6.5
luodangjia
2024-06-05 06c5eda038f967dc0c0261e16eff0ad1a18e41e7
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
package com.stylefeng.guns.modular.system.model;
 
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.DataSource;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.models.auth.In;
 
import java.io.Serializable;
import java.util.Date;
import java.util.Objects;
 
/**
 * <p>
 * 开通城市表
 * </p>
 *
 * @author 吕雪
 * @since 2020-06-02
 */
 
@TableName("t_open_city_site")
public class TOpenCitySite extends Model<TOpenCitySite> {
 
    private static final long serialVersionUID = 1L;
 
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TOpenCitySite that = (TOpenCitySite) o;
        return Objects.equals(id, that.id) && Objects.equals(lon, that.lon) && Objects.equals(lat, that.lat) && Objects.equals(name, that.name) && Objects.equals(insertTime, that.insertTime) && Objects.equals(openCityId, that.openCityId);
    }
 
    @Override
    public int hashCode() {
        return Objects.hash(id, lon, lat, name, insertTime, openCityId);
    }
 
    public String getInsertTime1() {
 
        return insertTime1;
    }
 
    public void setInsertTime1(String insertTime1) {
        this.insertTime1 = insertTime1;
    }
 
    @Override
    public String toString() {
        return "TOpenCitySite{" +
                "id=" + id +
                ", lon='" + lon + '\'' +
                ", lat='" + lat + '\'' +
                ", name='" + name + '\'' +
                ", insertTime=" + insertTime +
                ", openCityId=" + openCityId +
                '}';
    }
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public String getLon() {
        return lon;
    }
 
    public void setLon(String lon) {
        this.lon = lon;
    }
 
    public String getLat() {
        return lat;
    }
 
    public void setLat(String lat) {
        this.lat = lat;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public Date getInsertTime() {
        return insertTime;
    }
 
    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }
 
    public Integer getOpenCityId() {
        return openCityId;
    }
 
    public void setOpenCityId(Integer openCityId) {
        this.openCityId = openCityId;
    }
 
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    /**
     * 经度
     */
    private String lon;
    /**
     * 纬度
     */
    private String lat;
 
    public Integer getFlag() {
        return flag;
    }
 
    public void setFlag(Integer flag) {
        this.flag = flag;
    }
 
    private Integer flag;
    /**
     * 类型 1机场2站点
     */
    private Integer type;
 
    public Integer getType() {
        return type;
    }
 
    public void setType(Integer type) {
        this.type = type;
    }
 
    /**
     * 站点名称
     */
    private String name;
    private Date insertTime;
    @TableField(exist = false)
    private String insertTime1;
    private Integer openCityId;
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
 
}