Statistic.php 519 B

1234567891011121314151617181920
  1. <?php
  2. namespace App\Models;
  3. use App\Traits\ModelHelpers;
  4. use Illuminate\Database\Eloquent\Model;
  5. class Statistic extends Model
  6. {
  7. use ModelHelpers;
  8. //
  9. protected $table = "statistics";
  10. protected $guarded = [];
  11. const SLUG_DEPOSIT_STATIC = "deposit_statistics"; //押金统计
  12. const SLUG_PROFIT_STATIC = "profit_statistics"; //收益统计
  13. public static $statisticsMaps = [
  14. self::SLUG_PROFIT_STATIC => '收益统计',
  15. self::SLUG_DEPOSIT_STATIC => '押金统计',
  16. ];
  17. }