TruckCredit.java
3.14 KB
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
package com.trash.business.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.trash.common.annotation.Excel;
import com.trash.common.core.domain.BaseEntity;
import java.util.Date;
/**
* 车辆失信对象 truck_credit
*
* @author trash
* @date 2023-04-25
*/
public class TruckCredit extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 序号 */
@Excel(name = "序号")
private Long id;
/** 运输企业编号 */
@Excel(name = "运输企业")
private String companyId;
/** 车牌号码 */
@Excel(name = "车牌号码")
private String licensePlate;
/** 失信原因 */
@Excel(name = "失信原因")
private String reason;
/** 0当前 1历史 */
private Long status;
/** 0撤销 1失信 */
@Excel(name = "状态", readConverterExp = "0=撤销失信,1=失信")
private Long lostCredit;
/** 基础数据ID */
private String objectId;
private Long createType;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "${失信时间}", dateFormat = "yyyy-MM-dd")
private Date time;
public String getLicensePlate() {
return licensePlate;
}
public void setLicensePlate(String licensePlate) {
this.licensePlate = licensePlate;
}
public Date getTime() {
return time;
}
public void setTime(Date time) {
this.time = time;
}
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setCompanyId(String companyId)
{
this.companyId = companyId;
}
public String getCompanyId()
{
return companyId;
}
public void setReason(String reason)
{
this.reason = reason;
}
public String getReason()
{
return reason;
}
public void setStatus(Long status)
{
this.status = status;
}
public Long getStatus()
{
return status;
}
public void setLostCredit(Long lostCredit)
{
this.lostCredit = lostCredit;
}
public Long getLostCredit()
{
return lostCredit;
}
public void setObjectId(String objectId)
{
this.objectId = objectId;
}
public String getObjectId()
{
return objectId;
}
public Long getCreateType() {
return createType;
}
public void setCreateType(Long createType) {
this.createType = createType;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("companyId", getCompanyId())
.append("licensePlate", getLicensePlate())
.append("reason", getReason())
.append("status", getStatus())
.append("lostCredit", getLostCredit())
.append("objectId", getObjectId())
.append("createBy", getCreateBy())
.append("time",getTime())
.toString();
}
}