/**
 * @description 红包码数据
 * @author kaka
 */

import { Data } from "../../../mk/data/Data";

const { ccclass } = cc._decorator;

@ccclass
export default class RedCodeData extends Data {
    init_data = false;
    money = 0;
    code = '';

    /** 播放视频类型 */
    teachVideoType = 1;

    openRedCode(money, code) {
        this.money = money;
        this.code = code;
        this.init_data = true;
    }
}
