43 lines
1.0 KiB
PHP
43 lines
1.0 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Model;
|
|
|
|
use Hyperf\DbConnection\Model\Model;
|
|
|
|
/**
|
|
* @property int $id
|
|
* @property int $user_id
|
|
* @property int $account_type
|
|
* @property int $business_code
|
|
* @property string $before_num
|
|
* @property string $change_num
|
|
* @property string $after_num
|
|
* @property int $track_user_id
|
|
* @property string $track_param
|
|
* @property string $remark
|
|
* @property string $create_time
|
|
*/
|
|
class AccountDetail extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*/
|
|
protected ?string $table = 'account_detail';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected array $fillable = [];
|
|
protected array $guarded = [];
|
|
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
*/
|
|
protected array $casts = ['id' => 'integer', 'user_id' => 'integer', 'account_type' => 'integer', 'business_code' => 'integer', 'track_user_id' => 'integer'];
|
|
|
|
const string CREATED_AT = 'create_time';
|
|
const null UPDATED_AT = null;
|
|
}
|