"use strict";
var __reflect = (this && this.__reflect) || function (p, c, t) {
    p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t;
};
var __extends = this && this.__extends || function __extends(t, e) { 
 function r() { 
 this.constructor = t;
}
for (var i in e) e.hasOwnProperty(i) && (t[i] = e[i]);
r.prototype = e.prototype, t.prototype = new r();
};
Object.defineProperty(exports, "__esModule", { value: true });
var Data_1 = require("../../Data");
/**
 *Created by cuiliqiang on 2018/3/30
 * 查询插件剩余抽奖次数
 */
var GetPrizeInfoData = (function (_super) {
    __extends(GetPrizeInfoData, _super);
    function GetPrizeInfoData() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    GetPrizeInfoData.prototype.update = function (data) {
        if (!data) {
            return;
        }
        _super.prototype.update.call(this, data);
        this.creditsPrice = data.creditsPrice;
        this.limitScope = data.limitScope;
        this.limitCount = data.limitCount;
        this.ruleDescription = data.ruleDescription;
        this.rateDescription = data.rateDescription;
        this.prizeList = data.prize;
    };
    return GetPrizeInfoData;
}(Data_1.Data));
exports.GetPrizeInfoData = GetPrizeInfoData;
__reflect(GetPrizeInfoData.prototype, "\"/Users/haiyoucuv/Documents/Web/\u5DE5\u884C\u5361\u4E2D\u5FC3--\u6B22\u8DA3\u5E84\u56ED\u6D3B\u52A8/JoyousManor/egret/libs/tw/data/plug/getPrizeInfo/GetPrizeInfoData\".GetPrizeInfoData");
//# sourceMappingURL=GetPrizeInfoData.js.map