liujie
2025-08-18 9e91ae67150c35278b69457e5a9b839851af0890
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
package com.stylefeng.guns.modular.system.model;
 
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;
 
/**
 * 司机关联线路
 * @TableName t_driver_line
 */
@TableName(value ="t_driver_line")
public class TDriverLine implements Serializable {
    /**
     * 
     */
    @TableId
    private Integer id;
 
    /**
     * 司机id
     */
    private Integer driverid;
 
    /**
     * 线路id
     */
    private Integer lineid;
 
    /**
     * 创建时间
     */
    private Date createtime;
 
    /**
     * 添加时间【后台使用】
     */
    private String addtime;
 
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
 
    /**
     * 
     */
    public Integer getId() {
        return id;
    }
 
    /**
     * 
     */
    public void setId(Integer id) {
        this.id = id;
    }
 
    /**
     * 司机id
     */
    public Integer getDriverid() {
        return driverid;
    }
 
    /**
     * 司机id
     */
    public void setDriverid(Integer driverid) {
        this.driverid = driverid;
    }
 
    /**
     * 线路id
     */
    public Integer getLineid() {
        return lineid;
    }
 
    /**
     * 线路id
     */
    public void setLineid(Integer lineid) {
        this.lineid = lineid;
    }
 
    /**
     * 创建时间
     */
    public Date getCreatetime() {
        return createtime;
    }
 
    /**
     * 创建时间
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
 
    /**
     * 添加时间【后台使用】
     */
    public String getAddtime() {
        return addtime;
    }
 
    /**
     * 添加时间【后台使用】
     */
    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }
 
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TDriverLine other = (TDriverLine) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getDriverid() == null ? other.getDriverid() == null : this.getDriverid().equals(other.getDriverid()))
            && (this.getLineid() == null ? other.getLineid() == null : this.getLineid().equals(other.getLineid()))
            && (this.getCreatetime() == null ? other.getCreatetime() == null : this.getCreatetime().equals(other.getCreatetime()))
            && (this.getAddtime() == null ? other.getAddtime() == null : this.getAddtime().equals(other.getAddtime()));
    }
 
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getDriverid() == null) ? 0 : getDriverid().hashCode());
        result = prime * result + ((getLineid() == null) ? 0 : getLineid().hashCode());
        result = prime * result + ((getCreatetime() == null) ? 0 : getCreatetime().hashCode());
        result = prime * result + ((getAddtime() == null) ? 0 : getAddtime().hashCode());
        return result;
    }
 
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", driverid=").append(driverid);
        sb.append(", lineid=").append(lineid);
        sb.append(", createtime=").append(createtime);
        sb.append(", addtime=").append(addtime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}