| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824 | <?php/** * Day.php UTF-8 * 每日数据 * * @date    : 2018/5/31 11:36 * * @license 这不是一个自由软件,未经授权不许任何使用和传播。 * @author  : wuyonghong <wyh@huosdk.com> * @version : HUOSDK 8.0 */namespace huo\controller\data;class Day {    protected $date                = '';/*日期 */    protected $app_id              = 0; /*游戏ID */    protected $agent_id            = 0; /*代理ID */    protected $history_user_cnt    = 0; /*到当日历史玩家人数 */    protected $active_cnt          = 0; /*游戏激活数 */    protected $down_cnt            = 0; /*下载数 */    protected $real_down_cnt       = 0; /*真实下载数 */    protected $user_cnt            = 0; /*活跃玩家数量 */    protected $reg_cnt             = 0; /*注册玩家数 */    protected $reg_device_cnt      = 0; /*新增设备数 */    protected $pay_user_cnt        = 0; /*付费玩家数 */    protected $first_pay_user_cnt  = 0; /*首付人数 */    protected $order_cnt           = 0; /*成功订单数 */    protected $fail_order_cnt      = 0; /*失败订单数 */    protected $un_order_cnt        = 0; /*待支付订单数 */    protected $reg_order_cnt       = 0; /*注册订单数 */    protected $reg_pay_cnt         = 0; /*新增即付费人数 */    protected $sum_money           = 0.00; /*充值金额 */    protected $first_pay_money     = 0.00; /*首付金额 */    protected $first_pay_sum_money = 0.00; /*首付当日总额 */    protected $reg_sum_money       = 0.00; /*新增即付总额 */    protected $day2                = 0; /*二日留存量 */    protected $day3                = 0; /*三日留存量 */    protected $day4                = 0; /*四日留存量 */    protected $day5                = 0; /*五日留存量 */    protected $day6                = 0; /*六日留存量 */    protected $day7                = 0; /*七日留存量 */    protected $day8                = 0; /*八日留存量 */    protected $day9                = 0; /*九日留存量 */    protected $day10               = 0; /*十日留存量 */    protected $day11               = 0; /*11日留存量 */    protected $day12               = 0; /*12日留存量 */    protected $day13               = 0; /*13日留存量 */    protected $day14               = 0; /*14日留存量 */    protected $day15               = 0; /*15日留存量 */    protected $day21               = 0; /*21日留存量 */    protected $day30               = 0; /*30日留存量 */    protected $day60               = 0; /*60日留存量 */    protected $device_day2         = 0; /*二日留存量 */    protected $device_day3         = 0; /*三日留存量 */    protected $device_day4         = 0; /*四日留存量 */    protected $device_day5         = 0; /*五日留存量 */    protected $device_day6         = 0; /*六日留存量 */    protected $device_day7         = 0; /*七日留存量 */    protected $device_day8         = 0; /*八日留存量 */    protected $device_day9         = 0; /*九日留存量 */    protected $device_day10        = 0; /*十日留存量 */    protected $device_day11        = 0; /*11日留存量 */    protected $device_day12        = 0; /*12日留存量 */    protected $device_day13        = 0; /*13日留存量 */    protected $device_day14        = 0; /*14日留存量 */    protected $device_day15        = 0; /*15日留存量 */    protected $device_day21        = 0; /*21日留存量 */    protected $device_day30        = 0;  /*30日留存量 */    protected $device_day60        = 0; /*60日留存量 */    protected $retain_day_arr                                   = ['2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '21',                                      '30', '60'];    protected $sum_login_cnt       = 0; /* 当日登陆总次数 */    public function toArray() {        $_data['date'] = $this->getDate();        $_data['app_id'] = $this->getAppId();        $_data['agent_id'] = $this->getAgentId();        $_data['history_user_cnt'] = $this->getHistoryUserCnt();        $_data['active_cnt'] = $this->getActiveCnt();        $_data['down_cnt'] = $this->getDownCnt();        $_data['real_down_cnt'] = $this->getRealDownCnt();        $_data['user_cnt'] = $this->getUserCnt();        $_data['reg_cnt'] = $this->getRegCnt();        $_data['reg_device_cnt'] = $this->getRegDeviceCnt();        $_data['pay_user_cnt'] = $this->getPayUserCnt();        $_data['first_pay_user_cnt'] = $this->getFirstPayUserCnt();        $_data['order_cnt'] = $this->getOrderCnt();        $_data['fail_order_cnt'] = $this->getFailOrderCnt();        $_data['un_order_cnt'] = $this->getUnOrderCnt();        $_data['reg_order_cnt'] = $this->getRegOrderCnt();        $_data['reg_pay_cnt'] = $this->getRegPayCnt();        $_data['sum_money'] = $this->getSumMoney();        $_data['first_pay_money'] = $this->getFirstPayMoney();        $_data['first_pay_sum_money'] = $this->getFirstPaySumMoney();        $_data['reg_sum_money'] = $this->getRegSumMoney();        $_data['day2'] = $this->getDay2();        $_data['day3'] = $this->getDay3();        $_data['day4'] = $this->getDay4();        $_data['day5'] = $this->getDay5();        $_data['day6'] = $this->getDay6();        $_data['day7'] = $this->getDay7();        $_data['day8'] = $this->getDay8();        $_data['day9'] = $this->getDay9();        $_data['day10'] = $this->getDay10();        $_data['day11'] = $this->getDay11();        $_data['day12'] = $this->getDay12();        $_data['day13'] = $this->getDay13();        $_data['day14'] = $this->getDay14();        $_data['day15'] = $this->getDay15();        $_data['day21'] = $this->getDay21();        $_data['day30'] = $this->getDay30();        $_data['day60'] = $this->getDay60();        $_data['device_day2'] = $this->getDeviceDay2();        $_data['device_day3'] = $this->getDeviceDay3();        $_data['device_day4'] = $this->getDeviceDay4();        $_data['device_day5'] = $this->getDeviceDay5();        $_data['device_day6'] = $this->getDeviceDay6();        $_data['device_day7'] = $this->getDeviceDay7();        $_data['device_day8'] = $this->getDeviceDay8();        $_data['device_day9'] = $this->getDeviceDay9();        $_data['device_day10'] = $this->getDeviceDay10();        $_data['device_day11'] = $this->getDeviceDay11();        $_data['device_day12'] = $this->getDeviceDay12();        $_data['device_day13'] = $this->getDeviceDay13();        $_data['device_day14'] = $this->getDeviceDay14();        $_data['device_day15'] = $this->getDeviceDay15();        $_data['device_day21'] = $this->getDeviceDay21();        $_data['device_day30'] = $this->getDeviceDay30();        $_data['device_day60'] = $this->getDeviceDay60();        $_data['sum_login_cnt'] = $this->getSumLoginCnt();        return $_data;    }    /**     * @return string     */    public function getDate() {        return $this->date;    }    /**     * @param string $date     */    public function setDate($date) {        $this->date = $date;    }    /**     * @return int     */    public function getAppId() {        return $this->app_id;    }    /**     * @param int $app_id     */    public function setAppId($app_id) {        $this->app_id = $app_id;    }    /**     * @return int     */    public function getAgentId() {        return $this->agent_id;    }    /**     * @param int $agent_id     */    public function setAgentId($agent_id) {        $this->agent_id = $agent_id;    }    /**     * @return int     */    public function getHistoryUserCnt() {        return $this->history_user_cnt;    }    /**     * @param int $history_user_cnt     */    public function setHistoryUserCnt($history_user_cnt) {        $this->history_user_cnt = $history_user_cnt;    }    /**     * @return int     */    public function getActiveCnt() {        return $this->active_cnt;    }    /**     * @param int $active_cnt     */    public function setActiveCnt($active_cnt) {        $this->active_cnt = $active_cnt;    }    /**     * @return int     */    public function getDownCnt() {        return $this->down_cnt;    }    /**     * @param int $down_cnt     */    public function setDownCnt($down_cnt) {        $this->down_cnt = $down_cnt;    }    /**     * @return int     */    public function getRealDownCnt() {        return $this->real_down_cnt;    }    /**     * @param int $real_down_cnt     */    public function setRealDownCnt($real_down_cnt) {        $this->real_down_cnt = $real_down_cnt;    }    /**     * @return int     */    public function getUserCnt() {        return $this->user_cnt;    }    /**     * @param int $user_cnt     */    public function setUserCnt($user_cnt) {        $this->user_cnt = $user_cnt;    }    /**     * @return int     */    public function getRegCnt() {        return $this->reg_cnt;    }    /**     * @param int $reg_cnt     */    public function setRegCnt($reg_cnt) {        $this->reg_cnt = $reg_cnt;    }    /**     * @return int     */    public function getRegDeviceCnt() {        return $this->reg_device_cnt;    }    /**     * @param int $reg_device_cnt     */    public function setRegDeviceCnt($reg_device_cnt) {        $this->reg_device_cnt = $reg_device_cnt;    }    /**     * @return int     */    public function getPayUserCnt() {        return $this->pay_user_cnt;    }    /**     * @param int $pay_user_cnt     */    public function setPayUserCnt($pay_user_cnt) {        $this->pay_user_cnt = $pay_user_cnt;    }    /**     * @return int     */    public function getFirstPayUserCnt() {        return $this->first_pay_user_cnt;    }    /**     * @param int $first_pay_user_cnt     */    public function setFirstPayUserCnt($first_pay_user_cnt) {        $this->first_pay_user_cnt = $first_pay_user_cnt;    }    /**     * @return int     */    public function getOrderCnt() {        return $this->order_cnt;    }    /**     * @param int $order_cnt     */    public function setOrderCnt($order_cnt) {        $this->order_cnt = $order_cnt;    }    /**     * @return int     */    public function getFailOrderCnt() {        return $this->fail_order_cnt;    }    /**     * @param int $fail_order_cnt     */    public function setFailOrderCnt($fail_order_cnt) {        $this->fail_order_cnt = $fail_order_cnt;    }    /**     * @return int     */    public function getUnOrderCnt() {        return $this->un_order_cnt;    }    /**     * @param int $un_order_cnt     */    public function setUnOrderCnt($un_order_cnt) {        $this->un_order_cnt = $un_order_cnt;    }    /**     * @return int     */    public function getRegOrderCnt() {        return $this->reg_order_cnt;    }    /**     * @param int $reg_order_cnt     */    public function setRegOrderCnt($reg_order_cnt) {        $this->reg_order_cnt = $reg_order_cnt;    }    /**     * @return int     */    public function getRegPayCnt() {        return $this->reg_pay_cnt;    }    /**     * @param int $reg_pay_cnt     */    public function setRegPayCnt($reg_pay_cnt) {        $this->reg_pay_cnt = $reg_pay_cnt;    }    /**     * @return float     */    public function getSumMoney() {        return $this->sum_money;    }    /**     * @param float $sum_money     */    public function setSumMoney($sum_money) {        $this->sum_money = $sum_money;    }    /**     * @return float     */    public function getFirstPayMoney() {        return $this->first_pay_money;    }    /**     * @param float $first_pay_money     */    public function setFirstPayMoney($first_pay_money) {        $this->first_pay_money = $first_pay_money;    }    /**     * @return float     */    public function getFirstPaySumMoney() {        return $this->first_pay_sum_money;    }    /**     * @param float $first_pay_sum_money     */    public function setFirstPaySumMoney($first_pay_sum_money) {        $this->first_pay_sum_money = $first_pay_sum_money;    }    /**     * @return float     */    public function getRegSumMoney() {        return $this->reg_sum_money;    }    /**     * @param float $reg_sum_money     */    public function setRegSumMoney($reg_sum_money) {        $this->reg_sum_money = $reg_sum_money;    }    /**     * @return int     */    public function getDay2() {        return $this->day2;    }    /**     * @param int $day2     */    public function setDay2($day2) {        $this->day2 = $day2;    }    /**     * @return int     */    public function getDay3() {        return $this->day3;    }    /**     * @param int $day3     */    public function setDay3($day3) {        $this->day3 = $day3;    }    /**     * @return int     */    public function getDay4() {        return $this->day4;    }    /**     * @param int $day4     */    public function setDay4($day4) {        $this->day4 = $day4;    }    /**     * @return int     */    public function getDay5() {        return $this->day5;    }    /**     * @param int $day5     */    public function setDay5($day5) {        $this->day5 = $day5;    }    /**     * @return int     */    public function getDay6() {        return $this->day6;    }    /**     * @param int $day6     */    public function setDay6($day6) {        $this->day6 = $day6;    }    /**     * @return int     */    public function getDay7() {        return $this->day7;    }    /**     * @param int $day7     */    public function setDay7($day7) {        $this->day7 = $day7;    }    /**     * @return int     */    public function getDay8() {        return $this->day8;    }    public function setDay8($day8) {        $this->day8 = $day8;    }    public function getDay9() {        return $this->day9;    }    public function setDay9($day9) {        $this->day9 = $day9;    }    public function getDay10() {        return $this->day10;    }    public function setDay10($day10) {        $this->day10 = $day10;    }    public function getDay11() {        return $this->day11;    }    public function setDay11($day11) {        $this->day11 = $day11;    }    public function getDay12() {        return $this->day12;    }    public function setDay12($day12) {        $this->day12 = $day12;    }    public function getDay13() {        return $this->day13;    }    public function setDay13($day13) {        $this->day13 = $day13;    }    public function getDay14() {        return $this->day14;    }    public function setDay14($day14) {        $this->day14 = $day14;    }    public function getDay15() {        return $this->day15;    }    /**     * @param int $day15     */    public function setDay15($day15) {        $this->day15 = $day15;    }    /**     * @return int     */    public function getDay21() {        return $this->day21;    }    public function setDay21($day21) {        $this->day21 = $day21;    }    public function getDay30() {        return $this->day30;    }    /**     * @param int $day30     */    public function setDay30($day30) {        $this->day30 = $day30;    }    public function getDay60() {        return $this->day60;    }    public function setDay60($day60) {        $this->day60 = $day60;    }    /**     * @return int     */    public function getDeviceDay2() {        return $this->device_day2;    }    /**     * @param int $device_day2     */    public function setDeviceDay2($device_day2) {        $this->device_day2 = $device_day2;    }    /**     * @return int     */    public function getDeviceDay3() {        return $this->device_day3;    }    /**     * @param int $device_day3     */    public function setDeviceDay3($device_day3) {        $this->device_day3 = $device_day3;    }    /**     * @return int     */    public function getDeviceDay4() {        return $this->device_day4;    }    /**     * @param int $device_day4     */    public function setDeviceDay4($device_day4) {        $this->device_day4 = $device_day4;    }    /**     * @return int     */    public function getDeviceDay5() {        return $this->device_day5;    }    /**     * @param int $device_day5     */    public function setDeviceDay5($device_day5) {        $this->device_day5 = $device_day5;    }    /**     * @return int     */    public function getDeviceDay6() {        return $this->device_day6;    }    /**     * @param int $device_day6     */    public function setDeviceDay6($device_day6) {        $this->device_day6 = $device_day6;    }    /**     * @return int     */    public function getDeviceDay7() {        return $this->device_day7;    }    /**     * @param int $device_day7     */    public function setDeviceDay7($device_day7) {        $this->device_day7 = $device_day7;    }    public function getDeviceDay8() {        return $this->device_day8;    }    public function setDeviceDay8($device_day8) {        $this->device_day8 = $device_day8;    }    public function getDeviceDay9() {        return $this->device_day9;    }    public function setDeviceDay9($device_day9) {        $this->device_day9 = $device_day9;    }    public function getDeviceDay10() {        return $this->device_day10;    }    public function setDeviceDay10($device_day10) {        $this->device_day10 = $device_day10;    }    public function getDeviceDay11() {        return $this->device_day11;    }    public function setDeviceDay11($device_day11) {        $this->device_day11 = $device_day11;    }    public function getDeviceDay12() {        return $this->device_day12;    }    public function setDeviceDay12($device_day12) {        $this->device_day12 = $device_day12;    }    public function getDeviceDay13() {        return $this->device_day13;    }    public function setDeviceDay13($device_day13) {        $this->device_day13 = $device_day13;    }    public function getDeviceDay14() {        return $this->device_day14;    }    public function setDeviceDay14($device_day14) {        $this->device_day14 = $device_day14;    }    /**     * @return int     */    public function getDeviceDay15() {        return $this->device_day15;    }    /**     * @param int $device_day15     */    public function setDeviceDay15($device_day15) {        $this->device_day15 = $device_day15;    }    /**     * @return int     */    public function getDeviceDay21() {        return $this->device_day21;    }    public function setDeviceDay21($device_day21) {        $this->device_day21 = $device_day21;    }    public function getDeviceDay30() {        return $this->device_day30;    }    /**     * @param int $device_day30     */    public function setDeviceDay30($device_day30) {        $this->device_day30 = $device_day30;    }    public function getDeviceDay60() {        return $this->device_day60;    }    public function setDeviceDay60($device_day60) {        $this->device_day60 = $device_day60;    }    /**     * @return array     */    public function getRetainDayArr() {        return $this->retain_day_arr;    }    /**     * @param array $retain_day_arr     */    public function setRetainDayArr($retain_day_arr) {        $this->retain_day_arr = $retain_day_arr;    }    /**     * @return int     */    public function getSumLoginCnt() {        return $this->sum_login_cnt;    }    /**     * @param int $sum_login_cnt     */    public function setSumLoginCnt($sum_login_cnt) {        $this->sum_login_cnt = $sum_login_cnt;    }}
 |