xuefei
2020-12-10 eeeb7233935ea9b10e99043bdbf740ef86c9bf20
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
package cn.cetc54.platform.core.common.vo;
 
 
import lombok.Data;
 
import java.io.Serializable;
 
/**
 * @author
 * 前后端交互数据标准
 */
@Data
public class Result<T> implements Serializable{
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 成功标志
     */
    private boolean success;
 
    /**
     * 消息
     */
    private String message;
 
    /**
     * 返回代码
     */
    private Integer code;
 
    /**
     * 时间戳
     */
    private long timestamp = System.currentTimeMillis();
 
    /**
     * 结果对象
     */
    private T result;
}