40 lines
939 B
PHP
40 lines
939 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Model;
|
|
|
|
/**
|
|
* @property int $log_id
|
|
* @property int $account_type
|
|
* @property int $belong_id
|
|
* @property int $account_id
|
|
* @property string $username
|
|
* @property string $title
|
|
* @property string $method
|
|
* @property string $flag
|
|
* @property int $code
|
|
* @property string $request
|
|
* @property string $response
|
|
* @property string $ip
|
|
* @property string $ua
|
|
* @property string $create_time
|
|
*/
|
|
class AccountLog extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*/
|
|
protected ?string $table = 'account_log';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected array $fillable = [];
|
|
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
*/
|
|
protected array $casts = ['log_id' => 'integer', 'account_type' => 'integer', 'belong_id' => 'integer', 'account_id' => 'integer', 'code' => 'integer'];
|
|
}
|