feat : rank
This commit is contained in:
35
app/Model/LeaderboardHistory.php
Normal file
35
app/Model/LeaderboardHistory.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Model;
|
||||
|
||||
use Hyperf\DbConnection\Model\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int $board_type
|
||||
* @property int $time_key
|
||||
* @property int $kitchen_id
|
||||
* @property int $city_id
|
||||
* @property int $chef_id
|
||||
* @property int $score
|
||||
* @property string $create_time
|
||||
*/
|
||||
class LeaderboardHistory extends Model
|
||||
{
|
||||
/**
|
||||
* The table associated with the model.
|
||||
*/
|
||||
protected ?string $table = 'leaderboard_history';
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected array $fillable = [];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*/
|
||||
protected array $casts = ['id' => 'integer', 'board_type' => 'integer', 'time_key' => 'integer', 'kitchen_id' => 'integer', 'city_id' => 'integer', 'chef_id' => 'integer', 'score' => 'integer'];
|
||||
}
|
||||
Reference in New Issue
Block a user