123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- namespace App\Models\Gnight;
- use App\Models\Model;
- /**
- * App\Models\Gnight\UserModel
- *
- * @property int $uid 主键,用户
- * @property \Illuminate\Support\Carbon $created_at 创建时间
- * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
- * @property string|null $headimgurl 头像
- * @property string|null $nickname 昵称
- * @property int $sex 性别0未知1男2女
- * @property int $like 喜欢0所有1男2女
- * @property string|null $voice 语音
- * @property int $voice_state 语音状态:-1:审核不通过;-2:系统下线;0下线;1:上线;2:审核;
- * @property int $contact_type 联系方式0:不存在;1电话2:微信;3:qq
- * @property string|null $contact 联系方式
- * @property int $share_group 分享到群里到次数
- * @property int $first_voice 第一次上次语音
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel query()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel whereContact($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel whereContactType($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel whereFirstVoice($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel whereHeadimgurl($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel whereLike($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel whereNickname($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel whereSex($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel whereShareGroup($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel whereUid($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel whereVoice($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gnight\UserModel whereVoiceState($value)
- * @mixin \Eloquent
- */
- class UserModel extends Model
- {
- protected $table = 'kdgx_gnight_user';
- protected $primaryKey = 'uid';
- protected $dateFormat = 'U';
- protected $fillable = [
- 'uid',
- 'headimgurl',
- 'nickname',
- 'sex',
- 'like',
- 'voice',
- 'voice_state',
- 'contact_type',
- 'contact',
- 'share_group',
- 'first_voice'
- ];
- }
|