"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");
var VisitDetailData = (function (_super) {
    __extends(VisitDetailData, _super);
    function VisitDetailData() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    VisitDetailData.prototype.update = function (result) {
        if (!result) {
            return;
        }
        _super.prototype.update.call(this, result);
        if (result.data) {
            this.id = result.data.id;
            this.identifier = result.data.identifier;
            this.petAvatar = result.data.petAvatar;
            this.petAvatarBig = result.data.petAvatarBig;
            this.petDesc = result.data.petDesc;
            this.petName = result.data.petName;
            this.playToyDetail = result.data.playToyDetail;
            this.visitTimes = result.data.visitTimes;
        }
    };
    return VisitDetailData;
}(Data_1.Data));
exports.VisitDetailData = VisitDetailData;
__reflect(VisitDetailData.prototype, "\"c:/Users/duiba/Documents/kuwo/egret/libs/tw/data/pets/VisitDetailData\".VisitDetailData");
//# sourceMappingURL=VisitDetailData.js.map