29 lines
564 B
PHP
29 lines
564 B
PHP
<?php
|
||
|
||
namespace app\model;
|
||
|
||
use support\Model;
|
||
// 字段注释
|
||
/**
|
||
* @var int $id 唯一标识符
|
||
* @var int $vip_id VIP等级
|
||
* @var int $user_id 用户ID
|
||
* @var string $updated_at 更新时间
|
||
* @var string $created_at 创建时间
|
||
* @var int $isfirst 是否首次领取(0:不是,1:是)
|
||
*/
|
||
class UserReceivesVipLog extends Model
|
||
{
|
||
// 设置表名
|
||
protected $table = 'userreceivesviplog';
|
||
|
||
// 设置主键
|
||
protected $primaryKey = 'id';
|
||
|
||
protected $fillable = [
|
||
'user_id',
|
||
'vip_id',
|
||
'isfirst'
|
||
];
|
||
}
|