guyue
94 分钟以前 b1c917a344e6240a013d0c0fc0a67e3de02afb7e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.linghu.model.dto;
 
import lombok.Data;
 
@Data
public class HealthResponse {
    private String status;
    private String timestamp;
    private String version;
    private String msg; // 自定义字段,用于封装错误信息
 
    public HealthResponse(String status, String timestamp, String version, String msg) {
        this.status = status;
        this.timestamp = timestamp;
        this.version = version;
        this.msg = msg;
    }
 
    public HealthResponse() {
        super();
    }
}