package com.yiqi.common.enums;


import cn.hutool.core.collection.CollUtil;

import java.util.List;

public enum ClothOrderStatusType implements CodeEnum{

     APPOINTMENT("0", "待接单")
    , WAITING_TO_DOOR("1","待上门")
    , HAS_TO_DOOR("2","待取衣")
    , HAS_TAKING("3", "待定价")
    , WAITING_FOR_PAY("4", "待付款")
    , WAIT_FACTORY("5", "待入厂")
    , WASHING("6", "清洗中")
    , HAS_WASH("7", "已出厂")
    , WAITING_FOR_HANG("8", "已到店")
    , WAITING_TO_SEND("9","待送衣")
    , SENDING("10", "送衣中")
    , WAITING_FOR_COMMENT("11", "待评价")
    , FINISH("12", "已完成")
    , REFUND_SUCCESS("15", "已退款")
    , CANCEL("-1", "已取消");

    private final String code;
    private final String info;

    ClothOrderStatusType(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    @Override
    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}