This commit is contained in:
2024-07-24 16:31:07 +03:00
parent 043a699c6d
commit 01ea22d089
3 changed files with 18 additions and 0 deletions

View File

@ -3,6 +3,9 @@ namespace app\models;
use \Illuminate\Database\Eloquent\Model;
/**
* @method static where(string $string, $user_id)
*/
class Question extends Model {
protected $table = 'question';
protected $fillable = ['question','user_id'];

View File

@ -6,6 +6,8 @@ use Illuminate\Database\Eloquent\Model;
* @property string $username
* @property string $email
* @property string $password_hash
* @method static where(int[] $array)
* @method static find($id)
*/
class User extends Model {
protected $table = 'user';