懒羊羊
2023-08-30 71e81ed1d12e4d69f53c8ad9e066650ad4186293
提交 | 用户 | 时间
71e81e 1 /**
2  * Copyright 2018-2020 stylefeng & fengshuonan (https://gitee.com/stylefeng)
3  * <p>
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  * <p>
8  * http://www.apache.org/licenses/LICENSE-2.0
9  * <p>
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package cn.stylefeng.guns.sys.core.constant.state;
17
18 /**
19  * 业务是否成功的日志记录
20  *
21  * @author fengshuonan
22  * @Date 2017年1月22日 下午12:14:59
23  */
24 public enum LogSucceed {
25
26     SUCCESS("成功"),
27     FAIL("失败");
28
29     String message;
30
31     LogSucceed(String message) {
32         this.message = message;
33     }
34
35     public String getMessage() {
36         return message;
37     }
38
39     public void setMessage(String message) {
40         this.message = message;
41     }
42 }