12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <?php
- namespace App\Models\Goodnight;
- use Illuminate\Database\Eloquent\Model;
- /**
- * App\Models\Goodnight\UserModel
- *
- * @property int $uid
- * @property \Illuminate\Support\Carbon $created_at 创建时间
- * @property \Illuminate\Support\Carbon $updated_at 更新时间
- * @property string $cover 封面
- * @property int $gnight_coin 硬币
- * @property int $like_sex 性别偏好0未知;1男2女
- * @property string $like_tone_1 声音偏好:高
- * @property string $like_tone_2 声音偏好:中
- * @property string $like_tone_3 声音偏好:低
- * @property int $subscribed_at 订阅到期时间
- * @property int $invite_uid 邀请用户
- * @property int $get_like 获得的赞数
- * @property string $get_like_headimgurl 最近点赞的人的头像集合
- * @property int $subscribe_cnt 订阅次数
- * @property string|null $voice
- * @property int $login_at 登录时间
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel query()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereCover($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereGetLike($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereGetLikeHeadimgurl($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereGnightCoin($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereInviteUid($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereLikeSex($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereLikeTone1($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereLikeTone2($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereLikeTone3($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereLoginAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereSubscribeCnt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereSubscribedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereUid($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\UserModel whereVoice($value)
- * @mixin \Eloquent
- */
- class UserModel extends Model
- {
- protected $table = "kdgx_goodnight_user";
- protected $dateFormat = 'U';
- protected $primaryKey = 'uid';
- protected $fillable = [
- 'uid',
- 'created_at',
- 'updated_at',
- 'login_at',
- 'cover',
- 'gnight_coin',
- 'like_sex',
- 'like_tone_1',
- 'like_tone_2',
- 'like_tone_3',
- 'subscribed_at',
- 'subscribe_cnt',
- 'invite_uid',
- 'get_like',
- 'voice'
- ];
- }
|