售后日志优化

This commit is contained in:
chenchen
2023-06-25 23:08:07 +08:00
parent 3f33ca2d6b
commit 75afab1f86
5 changed files with 16 additions and 23 deletions

View File

@ -1,26 +1,29 @@
package cn.iocoder.yudao.module.trade.enums.aftersale;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
/**
* 售后操作类型的枚举
*
* @author 陈賝
* @since 2023/6/13 13:53
*/
// TODO @chenchen可以 lombok 简化构造方法,和 get 方法
@RequiredArgsConstructor
@Getter
public enum AfterSaleOperateTypeEnum {
/**
* 用户申请
*/
APPLY("用户申请"),
APPLY(0, "用户申请"),
;
// 类型
private final Integer type;
// 描述
private final String description;
AfterSaleOperateTypeEnum(String description) {
this.description = description;
}
public String description() {
return description;
}