<?php namespace app\model; use support\Model; class ActiveUsers extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'active_users'; /** * The primary key associated with the table. * * @var string */ protected $primaryKey = 'id'; public $timestamps = true; protected $fillable = [ 'user_id', 'income', 'phone', ]; }