import { Data } from './../Data';
export class PetsInfoData extends Data {
    public petOwner: boolean;

    public foodNum: number;

    public foodName: string;

    public feedLimit: number;

    public foodStoreLimit: number;

    public pets: any[];



    public update(result: any): void {
        if (!result) {
            return;
        }
        this.petOwner = result.petOwner;
        this.foodNum = result.foodNum;
        this.foodName = result.foodName;
        this.feedLimit = result.feedLimit;
        this.foodStoreLimit = result.foodStoreLimit;
        this.pets = result.pets;
    }
}