using System.Collections.Generic;

namespace ChillConnect
{
    public class MakeupTaskData
    {
        public int tableId;


        public int id;


        public string amountStr;


        public decimal amount;


        public long makeupTime;


        public int videoCount;


        public int inlineInitNum;


        public int inlineNum;


        public string orderID;


        public MakeupTaskStatus status;

        public long order_time = 0;
        public int WatchVideoSpeedNum = 0;
        public int loginSpeedNum = 0;
        public int activeMinute = 0;
        public int activeSpeedNum = 0;

        public long ch_time;
        public string ExchangeAccount;
        public string ExchangeName;
        public string short_name;
        public string long_name;
        public List<makeupRdData> rdData;
        public makeupRdData lastRdData;
        public int LvVideoCount;
        public void SetStatus(MakeupTaskStatus _status)
        {
            status = _status;
        }

        public string GetAmountStr()
        {
            if (amount <= 0)
            {
                return amountStr;
            }
            else
            {
                return GameHelper.Get101Str(amount);
            }
        }
    }

    public enum MakeupTaskStatus
    {
        None,
        Task,
        Level,
        Inline,
        editAccount,
        ticket,
        code,
    }

    public class makeupRdData
    {
        public int coupon_mount;
        public string code;
        public bool isClaimed;
    }
}