<?php

namespace App\Models\Deed;

use App\Models\Model;

/**
 * App\Models\Deed\FriendsModel
 *
 * @property int $id
 * @property \Illuminate\Support\Carbon $created_at 创建时间
 * @property int $uid 用户
 * @property int $friend_uid 好友id
 * @property int $last_at 上次交互时间
 * @property int $friend_type 好友来源：0=相互喜欢；1=心动邀请；2=活动72h匹配；3=晚安匹配；4=开黑cj匹配；5=开黑wz匹配；6=被心动邀请
 * @property string $friend_type_data 来源附加数据
 * @property int $star_at 星标时间
 * @property int $is_hide 是否隐藏0否;1是
 * @property string $last_msg 最后一次交互的消息
 * @property int $each_like 相互心动【标签】
 * @property int $pair 72h标签
 * @property int $like_invite 好友申请标签
 * @property int $gteam 开黑标签
 * @property int $goodnight 晚安标签
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereEachLike($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereFriendType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereFriendTypeData($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereFriendUid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereGoodnight($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereGteam($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereIsHide($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereLastAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereLastMsg($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereLikeInvite($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel wherePair($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereStarAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereUid($value)
 * @mixin \Eloquent
 */
class FriendsModel extends Model
{
    protected $table = "kdgx_fpdx_friends";

    protected $dateFormat = 'U';

    public const UPDATED_AT = null;

    protected $fillable = [
        'id',
        'created_at',
        'uid',
        'friend_uid',
        'last_at',
        'is_friend',
        'friend_type_data',
        'star_at',
        'is_hide',
        'unread_cnt'
    ];
}
