| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- namespace App\Module\User\Model;
- use Dcat\Admin\Traits\HasDateTimeFormatter;
- use Illuminate\Database\Eloquent\Model;
- use Illuminate\Support\Str;
- use \ModelCore;
- /**
- *
- * 用户
- *
- * field start
- * @property int $user_id
- * @property string $mobile 手机号
- * @property string $nickname 昵称
- * @property string $avatar 头像
- * @property string $invite_code 邀请码
- * @property int $up_user_id 上级用户id
- * @property string $password 助记词
- * @property string $desc 个性签名
- * @property int $is_prohibit 是否封禁
- * @property int $is_verify 是否认证
- * @property string $create_time
- * @property string $update_time
- * field end
- */
- class User extends ModelCore
- {
- use HasDateTimeFormatter;
- protected $table = 'user';
- protected $primaryKey = 'user_id';
- }
|