so-manager-dev.com/app/Models/User.php
Yu Watanabe 7d950c5cd8
All checks were successful
Deploy preview (main_watanabe) / deploy (push) Successful in 12s
9月1週分
2025-09-05 13:11:00 +09:00

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 [];
}
}