1234567891011121314151617181920 |
- <?php
- namespace App\Models;
- use App\Traits\ModelHelpers;
- use Illuminate\Database\Eloquent\Model;
- class Statistic extends Model
- {
- use ModelHelpers;
- //
- protected $table = "statistics";
- protected $guarded = [];
- const SLUG_DEPOSIT_STATIC = "deposit_statistics"; //押金统计
- const SLUG_PROFIT_STATIC = "profit_statistics"; //收益统计
- public static $statisticsMaps = [
- self::SLUG_PROFIT_STATIC => '收益统计',
- self::SLUG_DEPOSIT_STATIC => '押金统计',
- ];
- }
|