blob: 958fbc3baa97f9fd84a3db65ad05e4f5232f5068 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package com.mesasoft.cn.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* @description:
* @author: zhq
* @create: 2022-03-21
**/
@Getter
@AllArgsConstructor
public enum StatusEnum {
SUCCESS(200, "200", "success"),
FAIL(400, "400", "fail"),
NOT_FOUND(404, "404", "not found"),
SERROR_ERROR(500, "500", "not found");
private int status;
private String code;
private String message;
}
|