初始化代码
This commit is contained in:
29
application/admin/model/UserPlayer.php
Normal file
29
application/admin/model/UserPlayer.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\model;
|
||||
|
||||
use think\Model;
|
||||
|
||||
class UserPlayer extends Model
|
||||
{
|
||||
protected $auto = ['update_time'];
|
||||
protected $insert = [
|
||||
'add_time',
|
||||
|
||||
'order_duration' => 0,
|
||||
'order_count' => 0,
|
||||
'order_total_amount' => 0,
|
||||
'service_rate' => 0,
|
||||
'last_login_time' => 0,
|
||||
'flag' => '',
|
||||
'is_top' => 1,
|
||||
'is_recommend' => 1,
|
||||
'is_business' => 1,
|
||||
'remarks' => '',
|
||||
'status' => 1,
|
||||
'deal_time' => 0,
|
||||
|
||||
];
|
||||
protected $update = ['update_time'];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user