1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- namespace App\Models;
- use Illuminate\Notifications\Notifiable;
- use Laravel\Passport\HasApiTokens;
- use Illuminate\Foundation\Auth\User as Authenticatable;
- use Illuminate\Database\Eloquent\SoftDeletes;
- /**
- * @description 小游戏用户
- * @author system;
- * @version 1.0
- * @date 2018-05-25 10:59:46
- *
- */
- class AlbumXyxUserModel extends Authenticatable
- {
- use HasApiTokens, Notifiable, SoftDeletes;
- /**
- * 数据表名
- *
- * @var string
- *
- */
- protected $table = 'album_xyx_user';
- /**
- 主键
- */
- protected $primaryKey = 'id';
- //分页
- protected $perPage = PAGE_NUMS;
- /**
- * 可以被集体附值的表的字段
- *
- * @var string
- */
- protected $fillable = [
- 'username',
- 'is_agent',
- 'wechat_open_id',
- 'wechat_union_id',
- 'avatar',
- 'store_id',
- 'xcx_id'
- ];
- }
|