<?php

namespace App\Models\Fpdx;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\Fpdx\InviteModel
 *
 * @property int $id
 * @property int $uid
 * @property int $pair_id 报名id
 * @property string $invite_uid 邀请用户
 * @property int $create_at 时间
 * @property int $state 是否退款:0,邀请加成功率；1，分享退费；2：无效邀请
 * @property int $stage_id
 * @property float $dis_score 折扣比例
 * @property string|null $comment 留言
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereComment($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereCreateAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereDisScore($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereInviteUid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel wherePairId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereStageId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereState($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereUid($value)
 * @mixin \Eloquent
 */
class InviteModel extends Model
{
    protected $table = "kdgx_partner_charge_fpdx_invite";

    public $timestamps = false;

    protected $fillable = [
        'id',
        'uid',
        'pair_id',
        'invite_uid',
        'create_at',
        'state',
        'stage_id',
        'dis_score',
        'comment'
    ];
}
