package com.jwipc.order.constant;

import lombok.Getter;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
@Getter
public enum PurchaseOrderStatus {
    NEW(1, "新建"),
    ORDER_BPM_APPROVAL_IN_PROGRESS(2, "订单bpm审批中"),
    ORDER_BPM_APPROVAL_REJECTED(3, "订单bpm审批驳回"),
    GMP_APPROVAL_IN_PROGRESS(4, "GMP审批中"),
    GMP_APPROVAL_REJECTED(5, "GMP审批驳回"),
    AWAITING_SUPPLIER_CONFIRMATION(6, "待供应商确认"),
    CONFIRMATION_COMPLETED(7, "确认完成"),
    RECEIPT_COMPLETED(8, "收货完成"),
    DELETED(9, "删除"),
    ORDER_BPM_APPROVAL_PASSED(10, "订单bpm审批通过"),
    SUPPLIER_REFUSAL(11, "供应商拒签");
    private final int status;
    private final String desc;

    PurchaseOrderStatus(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }
}
