package com.jwipc.tender.constant;

import lombok.Getter;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
@Getter
public enum BidStatus {
    TO_BE_CONFIRMED(0, "待确认"),
    AGREE(1, "已接受"),
    DEPOSIT_PENDING(2, "保证金缴纳中"),
    BIDDING(3, "投标中"),
    BIDDED(4, "已投标"),
    BARGAINING(5, "议价中"),
    NOT_PARTICIPATING(6, "不参加"),
    CANCELLED(7, "已作废"),
    DEPOSIT_CONFIRMING(8, "保证金确认中"),
    PUBLISHED(9, "已发布"),
    WON(10, "已中标"),
    LOST(11, "未中标");

    private final int status;
    private final String message;

    BidStatus(Integer code, String message) {
        this.status = code;
        this.message = message;
    }
}
