<?php

namespace App\Game;

use Illuminate\Database\Eloquent\Model;

class AgentBonusRecord extends Model
{
    protected $table = 'webgame.AgentBonusRecord';
    protected $primaryKey = 'ID';
    public $incrementing = true;
    protected $keyType = 'int';
    protected $connection = 'mysql';
    protected $fillable = [
        'GlobalUID', 'UserID', 'Date', 'org_bonus', 'sub_bonus', 'bonus', 'rate', 'level', 'status', 'update_time','SubTotal'
    ];
    public $timestamps = false;

    const STATUS_INIT = 0;
    const STATUS_GET = 1;

}
