OrderStatusEnum.java
1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package com.canrd.patent.dal.enums;
/**
* Created by ouyangmao on 16/7/18.
*/
public enum OrderStatusEnum implements AbstractEnum {
SUBMITED(1,"已提交","已经初始化,已经提交,未支付"),
PAID_SUCCESS(2,"支付成功","订单支付成功"),
PADI_FAILURE(3,"支付失败","订单支付失败");
private int val;
private String title;
private String description;
OrderStatusEnum(int val, String title, String description) {
this.val = val;
this.title = title;
this.description = description;
}
@Override
public int getVal() {
return val;
}
public void setVal(int val) {
this.val = val;
}
@Override
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
@Override
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
}