krgm.so-manager-dev.com/app/Models/PriceList.php
ou.zaikou e1629913bd 初回コミット
Signed-off-by:  ou.zaikou<caihaoweng@gmail.com>
2025-08-21 23:09:40 +09:00

23 lines
581 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class PriceList extends Model
{
// テーブル名
protected $table = 'price_list'; // 実際のテーブル名に合わせて修正
// 主キー
protected $primaryKey = 'id';
// タイムスタンプ自動管理(必要なら true、不要なら false
public $timestamps = false;
// 一括代入許可カラム
protected $guarded = []; // もしくは ['id'] のように制限
// 必要に応じてリレーションやアクセサ・ミューテタなど追加
}