陶杰
2024-12-04 efb6f9d656f72c3016d738f079c92de021b9f14f
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 CouponTypeEnum {
 
 
    DISCOUNT("discount","满减"),
    ZERO("zero","无门槛"),
 
 
    ;
 
    @Getter
    private String type;
 
    private String desc;
    private CouponTypeEnum(String type, String desc){
        this.type=type;
        this.desc=desc;
    }
 
}