| 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.mzl.flower.enums; |  |   |  | import lombok.Getter; |  |   |  | public enum CouponUsedStatusEnum { |  |   |  |     UNUSED("unused","待使用"), |  |     USED("used","已使用"), |  |     EXPIRED("expired","过期"), |  |   |  |     ; |  |   |  |     @Getter |  |     private String type; |  |   |  |     private String desc; |  |     private CouponUsedStatusEnum(String type, String desc){ |  |         this.type=type; |  |         this.desc=desc; |  |     } |  |   |  |   |  | } | 
 |