初始化项目
This commit is contained in:
37
app/Models/YiiModels/ServiceUser.php
Normal file
37
app/Models/YiiModels/ServiceUser.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\YiiModels;
|
||||
|
||||
use App\Models\Extend\SoftDeletesInt;
|
||||
|
||||
/**
|
||||
* App\Models\YiiModels\ServiceUser
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $openid
|
||||
* @property string $session_key
|
||||
* @property string $unionid
|
||||
* @property string $mobile 手机号
|
||||
* @property string $password 密码
|
||||
* @property string $nickname 昵称
|
||||
* @property int $role 角色1医生2药师3导医4客服
|
||||
* @property int $status 状态0待激活1待审核2已认证3拒绝(需要修改激活资料)
|
||||
* @property string|null $reason 拒绝原因
|
||||
* @property int $im_status 客服或者导医的在线状态0下线1上线
|
||||
* @property int $plate_type 平台:1线上2线下
|
||||
* @property \Illuminate\Support\Carbon $created_at
|
||||
* @property \Illuminate\Support\Carbon $updated_at
|
||||
* @property int $is_delete
|
||||
* @property-read string $created_at_format 创建时间的格式化
|
||||
* @property-read string $updated_at_format 更新时间的格式化
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\YiiModels\ServiceUser newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\YiiModels\ServiceUser newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\YiiModels\ServiceUser query()
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class ServiceUser extends YiiBaseAuthModel
|
||||
{
|
||||
use SoftDeletesInt;
|
||||
|
||||
const GUARD = 'service';
|
||||
}
|
||||
Reference in New Issue
Block a user