package com.hfkj.sysenum.order;

import lombok.Getter;

/**
 * @className: OrderSettleLedgerStatusEnum
 * @author: HuRui
 * @date: 2024/6/14
 **/
@Getter
public enum OrderSettleLedgerStatusEnum {
    /**
     * 待处理
     */
    status0(0, "待处理"),
    /**
     * 已完成
     */
    status1(1, "已完成"),
    /**
     * 处理中
     */
    status2(2, "处理中"),
    /**
     * 已受理
     */
    status3(3, "已受理"),
    /**
     * 失败
     */
    status4(4, "失败"),
    /**
     * 撤销中
     */
    status5(5, "撤销中"),
    /**
     * 撤销成功
     */
    status6(6, "撤销成功"),
    /**
     * 撤销失败
     */
    status7(7, "撤销失败"),
    ;

    private final int code;

    private final String name;

    OrderSettleLedgerStatusEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }
}
