#
vincentlu
2025-02-24 572b447708c47d2208632b76b72555f06721091b
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
package com.zy.acs.manager.core.domain;
 
import com.zy.acs.common.domain.protocol.IMessageBody;
import lombok.Data;
 
/**
 * Created by vincent on 8/19/2024
 */
@Data
public class VehicleFaultDto<T extends IMessageBody> {
 
    private String vehicle;
    
    private long timestamp;
 
    private T t;
 
    public VehicleFaultDto() {
    }
 
    public VehicleFaultDto(String vehicle, T t) {
        this.vehicle = vehicle;
        this.t = t;
    }
 
    public VehicleFaultDto(String vehicle, long timestamp, T t) {
        this.vehicle = vehicle;
        this.timestamp = timestamp;
        this.t = t;
    }
 
}