<?php

namespace App\Models\Appearance;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\Appearance\AppearanceModel
 *
 * @property int $id
 * @property \Illuminate\Support\Carbon $created_at 创建时间
 * @property \Illuminate\Support\Carbon $updated_at 更新时间
 * @property int $uid 用户
 * @property int $partner_id 卡片ID
 * @property string $school 学校
 * @property string $province 省份
 * @property string $city 城市
 * @property int $sex 性别
 * @property int $state 状态：
 * -1=申请失败；
 * 0=申请；
 * 1=下榜；
 * 2=上榜
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereCity($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel wherePartnerId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereProvince($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereSchool($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereSex($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereState($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereUid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class AppearanceModel extends Model
{
    //
    protected $table = 'fpdx_appearances';

    protected $dateFormat = 'U';

    protected $fillable = ['uid', 'province', 'city', 'sex', 'state', 'partner_id', 'school'];
}
