puzhibing
2026-08-21 5fa94b3718b4a78a4fcea4c97652b0ef20b7de3a
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
package com.xw.yunwei.model
 
import com.google.gson.annotations.SerializedName
import com.xw.yunwei.extension.dateChangePattern
 
/**
 * 车辆整备记录VO
 * 用于记录车辆整备检查的完整信息
 */
data class CarRecordMaintainModel(
 
    /**
     * 当前模式
     * 1 = 接单模式
     * 2 = 测试模式
     */
    @SerializedName("acceptOrTest")
    val acceptOrTest: Int? = null,
 
    /**
     * 车身标识
     */
    @SerializedName("bodyEmblem")
    val bodyEmblem: String? = null,
 
    /**
     * 刹车灯状态
     */
    @SerializedName("brakeLight")
    val brakeLight: String? = null,
 
    /**
     * 舱内清洁状态
     */
    @SerializedName("cabinCleaning")
    val cabinCleaning: String? = null,
 
    /**
     * 记录创建人(前端忽略)
     */
    @SerializedName("createBy")
    val createBy: String? = null,
 
    /**
     * 记录创建时间(前端忽略)
     */
    @SerializedName("createTime")
    val createTime: String? = null,
 
    /**
     * 是否删除:false-未删除,true-已删除
     */
    @SerializedName("deleted")
    val deleted: Boolean? = null,
 
    /**
     * 雾灯状态
     */
    @SerializedName("fogLight")
    val fogLight: String? = null,
 
    /**
     * 大灯状态
     */
    @SerializedName("headLight")
    val headLight: String? = null,
 
    /**
     * 主键ID
     */
    @SerializedName("id")
    val id: Long? = null,
 
    /**
     * 左前轮状态
     */
    @SerializedName("leftFrontWheel")
    val leftFrontWheel: String? = null,
 
    /**
     * 左后轮状态
     */
    @SerializedName("leftRearWheel")
    val leftRearWheel: String? = null,
 
    /**
     * 遗失物品情况
     */
    @SerializedName("lostItems")
    val lostItems: String? = null,
 
    /**
     * 操作时间
     */
    @SerializedName("operationTime")
    val operationTime: String? = null,
 
    /**
     * 操作人ID
     */
    @SerializedName("operationsUserId")
    val operationsUserId: Long? = null,
 
    /**
     * 结束操作人姓名
     */
    @SerializedName("operatorEndName")
    val operatorEndName: String? = null,
 
    /**
     * 开始操作人姓名
     */
    @SerializedName("operatorStartName")
    val operatorStartName: String? = null,
 
    /**
     * 车牌号
     */
    @SerializedName("plateNumber")
    val plateNumber: String? = null,
 
    /**
     * 备注信息
     */
    @SerializedName("remarks")
    val remarks: String? = null,
 
    /**
     * 右前轮状态
     */
    @SerializedName("rightFrontWheel")
    val rightFrontWheel: String? = null,
 
    /**
     * 右后轮状态
     */
    @SerializedName("rightRearWheel")
    val rightRearWheel: String? = null,
 
    /**
     * 关联任务ID
     */
    @SerializedName("taskId")
    val taskId: Long? = null,
 
    /**
     * 转向灯状态
     */
    @SerializedName("turnSignal")
    val turnSignal: String? = null,
 
    /**
     * 记录修改人(前端忽略)
     */
    @SerializedName("upStringBy")
    val upStringBy: String? = null,
 
    /**
     * 记录修改时间(前端忽略)
     */
    @SerializedName("upStringTime")
    val upStringTime: String? = null,
 
    /**
     * 车辆颜色
     */
    @SerializedName("vehicleColor")
    val vehicleColor: String? = null,
 
    /**
     * 车辆ID
     */
    @SerializedName("vehicleId")
    val vehicleId: Long? = null,
 
    /**
     * 车辆图片(URL或Base64,多张以逗号分隔)
     */
    @SerializedName("vehiclePictures")
    val vehiclePictures: String? = null
) {
    companion object Companion {
        /** 接单模式 */
        const val MODE_ACCEPT_ORDER = 1
        /** 测试模式 */
        const val MODE_TEST = 2
    }
 
    //获取显示操作时间
    fun getShowOperationTime(): String?{
        return operationTime?.dateChangePattern("yyyy-MM-dd HH:mm:ss","yyyy/MM/dd HH:mm:ss")
    }
}