using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XYY.Service.Standard.Finance.Charging.Express
{
    public class OtherFeeType
    {
        /// <summary>
        /// 燃油费
        /// </summary>
        public readonly static int FuelCost = 2;
        /// <summary>
        /// 处理费
        /// </summary>
        public readonly static int HandleCost = 3;
        /// <summary>
        /// 折扣
        /// </summary>
        public readonly static int Discount = 4;
        /// <summary>
        /// 税
        /// </summary>
        public readonly static int Tax = 5;
        /// <summary>
        /// 附加费
        /// </summary>
        public readonly static int Attr = 6;
        /// <summary>
        /// COD处理费
        /// </summary>
        public readonly static int COD = 7;
        /// <summary>
        /// COD处理费
        /// </summary>
        public readonly static int None = 8;

        static Dictionary<int, string> dics = new Dictionary<int, string>();
        static OtherFeeType()
        {
            dics[HandleCost] = "处理费";
            dics[FuelCost] = "燃油费";
            dics[Discount] = "折扣";
            dics[Tax] = "税";
            dics[Attr] = "附加费";
            dics[COD] = "COD处理费";
            dics[None] = "未知";
        }

        int type;

        public OtherFeeType(int feeType)
        {
            this.type = feeType;
        }
        public override string ToString()
        {
            return dics[type];
        }
    }
}
