package com.xxx.base.springframework.constant.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum RestfulEnum {

    SUCCESS(0, "success"), FAIL(9999, "fail");

    public Integer code;

    public String msg;
}
