"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
// import { IData } from "../../../../tc/interface/IData";
// 
// import { IData } from "../../../../tc/interface/IData";
/**
 * 签到信息查询
 */
var SignInfoVo = (function () {
    function SignInfoVo() {
        /**
         * 抽期内累计签到天数
         */
        this.acmDays = 0;
        /**
         * 今日奖励抽奖次数
         */
        this.activityCount = 0;
        /**
         * 明天签到奖励抽奖次数
         */
        this.activityCountTomorrow = 0;
        /**
         * 连续签到天数
         */
        this.continueDay = 0;
        /**
         * 今日签到奖励积分
         */
        this.credits = 0;
        /**
         * 明日签到奖励抽奖次数
         */
        this.creditsTomorrow = 0;
        /**
         * 首次签到日期
         */
        this.firstSignDate = 0;
        /**
         * 是否有累计奖励
         */
        this.hasAcmReward = false;
        /**
         * 连续签到天数
         */
        this.lastDays = 0;
        /**
         * 今天是否已签到
         */
        this.todaySigned = false;
    }
    SignInfoVo.prototype.update = function (result) {
        if (!result) {
            return;
        }
        this.acmDays = result.acmDays;
        this.activityCount = result.activityCount;
        this.activityCountTomorrow = result.activityCountTomorrow;
        this.continueDay = result.continueDay;
        this.credits = result.credits;
        this.creditsTomorrow = result.creditsTomorrow;
        this.firstSignDate = result.firstSignDate;
        this.hasAcmReward = result.hasAcmReward;
        this.lastDays = result.lastDays;
        this.monthResignedMap = result.monthResignedMap;
        this.monthSignedMap = result.monthSignedMap;
        this.todaySigned = result.todaySigned;
        if (result.rewardMap) {
            this.rewardMap = result.rewardMap;
        }
    };
    return SignInfoVo;
}());
exports.SignInfoVo = SignInfoVo;
__reflect(SignInfoVo.prototype, "\"/Users/chiwang/Desktop/\u5151\u5427\u5DE5\u4F5C/gameegret20181011/db-game-template/egret/libs/tw/data/pet/SignInfoVo\".SignInfoVo", ["\"/Users/chiwang/Desktop/\u5151\u5427\u5DE5\u4F5C/gameegret20181011/db-game-template/egret/libs/tc/interface/IData\".IData"]);
//# sourceMappingURL=SignInfoVo.js.map