<?php

namespace App\Models\Log;

use Illuminate\Database\Eloquent\Model;

/**
 * 卡片状态日志
 * Class FpdxCardStateListModel
 *
 * @package App\Models\Log
 * @property int $partner_id 卡片ID
 * @property int|null $uid 用户ID
 * @property int|null $sex 卡片性别
 * @property int|null $feed_push_type 推流类型：1，照片；2，语音；3，文本
 * @property int|null $is_sell 上架状态
 * @property int|null $hide_at 隐身时间
 * @property int|null $is_push_feed 是否可推信息流
 * @property int|null $push_fpdx 分配对象关注状态
 * @property int|null $push_syj 时遇记关注状态
 * @property int|null $is_mp_push 是否可推小程序
 * @property int|null $is_recommend 是否精选
 * @property int|null $base_score 人气值
 * @property \Illuminate\Support\Carbon|null $created_at 创建时间
 * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel whereBaseScore($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel whereFeedPushType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel whereHideAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel whereIsMpPush($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel whereIsPushFeed($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel whereIsRecommend($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel whereIsSell($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel wherePartnerId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel wherePushFpdx($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel wherePushSyj($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel whereSex($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel whereUid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\FpdxCardStateListModel whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class FpdxCardStateListModel extends Model
{
    protected $table = "fpdx_card_state_list";

    protected $connection = "mysql_datalog";

    protected $dateFormat = 'U';

    protected $primaryKey = "partner_id";

    protected $fillable = array(
        'partner_id',
        'uid',
        'sex',
        'feed_push_type',
        'is_sell',
        'hide_at',
        'is_push_feed',
        'push_fpdx',
        'push_syj',
        'is_mp_push',
        'is_recommend',
        'base_score',
        'created_at',
        'updated_at'
    );
}
