All checks were successful
Deploy preview (main_watanabe) / deploy (push) Successful in 12s
32 lines
685 B
PHP
32 lines
685 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
// use Illuminate\Contracts\Auth\MustVerifyEmail;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
|
use Illuminate\Notifications\Notifiable;
|
|
|
|
class User extends Authenticatable
|
|
{
|
|
use HasFactory, Notifiable;
|
|
|
|
// テーブル名
|
|
protected $table = 'user';
|
|
|
|
// 主キー
|
|
protected $primaryKey = 'user_seq';
|
|
|
|
// 一括登録・一括更新可能なカラムの指定
|
|
protected $fillable = [];
|
|
|
|
// 一括取得時の対象外項目
|
|
protected $hidden = [];
|
|
|
|
// 対象項目をキャスト
|
|
protected function casts(): array
|
|
{
|
|
return [];
|
|
}
|
|
}
|