| | |
| | | @ApiModelProperty(value = "超时时间") |
| | | private Integer requestTimeoutMs; |
| | | |
| | | @ApiModelProperty(value = "健康状态") |
| | | private String healthStatus; |
| | | |
| | | @ApiModelProperty(value = "最近测试时间") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date lastTestTime; |
| | | |
| | | @ApiModelProperty(value = "最近测试信息") |
| | | private String lastTestMessage; |
| | | |
| | | @ApiModelProperty(value = "最近初始化耗时") |
| | | private Long lastInitElapsedMs; |
| | | |
| | | @ApiModelProperty(value = "排序") |
| | | private Integer sort; |
| | | |
| | |
| | | return this.status == 1; |
| | | } |
| | | |
| | | public String getHealthStatus$() { |
| | | return this.healthStatus; |
| | | } |
| | | |
| | | public String getLastTestTime$() { |
| | | if (this.lastTestTime == null) { |
| | | return ""; |
| | | } |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.lastTestTime); |
| | | } |
| | | |
| | | public String getCreateTime$() { |
| | | if (this.createTime == null) { |
| | | return ""; |