package cn.lili.modules.order.order.entity.enums; /** * 订单的操作方式枚举 * * @author Chopper * @since 2020/11/17 7:26 下午 */ public enum OrderOperateEnum { /** * 确认 */ CONFIRM("确认"), /** * 支付 */ PAY("支付"), /** * 发货 */ SHIP("发货"), /** * 确认收货 */ ROG("确认收货"), /** * 取消 */ CANCEL("取消"), /** * 评论 */ COMMENT("评论"), /** * 完成 */ COMPLETE("完成"); private final String description; OrderOperateEnum(String description) { this.description = description; } public String description() { return this.description; } }