<?php

namespace App\Models;

/**
 * App\Models\InviteRelationModel
 *
 * @property int $id 主键
 * @property \Illuminate\Support\Carbon $created_at 创建时间
 * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
 * @property int|null $deleted_at 删除时间
 * @property int $uid 发起邀请的用户
 * @property int $is_invite_uid 被邀请的用户
 * @property int $state 状态:1进入小程序;2完成注册
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereIsInviteUid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereState($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereUid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class InviteRelationModel extends Model
{
    protected $table = 'kdgx_msy_invite_relation';

    public $dateFormat = 'U';

    protected $fillable = ['id', 'created_at', 'updated_at', 'uid', 'is_invite_uid', 'state'];
}
