提交 | 用户 | 时间
|
1ac2bc
|
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年5月31日20:48:41 |
|
23 |
*/ |
|
24 |
public enum Order { |
|
25 |
|
|
26 |
ASC("asc"), DESC("desc"); |
|
27 |
|
|
28 |
private String des; |
|
29 |
|
|
30 |
Order(String des) { |
|
31 |
this.des = des; |
|
32 |
} |
|
33 |
|
|
34 |
public String getDes() { |
|
35 |
return des; |
|
36 |
} |
|
37 |
|
|
38 |
public void setDes(String des) { |
|
39 |
this.des = des; |
|
40 |
} |
|
41 |
} |