main_ou #12

Merged
go.unhi merged 14 commits from main_ou into main 2025-08-23 00:39:02 +09:00
Showing only changes of commit 66ad57252f - Show all commits

View File

@ -7,18 +7,28 @@ use Illuminate\Database\Eloquent\Model;
class City extends Model
{
protected $table = 'city';
public $timestamps = true;
protected $primaryKey = 'city_id';
protected $fillable = [
'city_id',
'city_name',
'print_layout',
'city_user',
'city_remarks',
'created_at',
'updated_at',
];
/**
* 都市のリストを取得
*/
public static function getList()
{
return self::all();
}
protected $fillable = [
'city_id',
'city_name',
'print_layout',
'city_user',
'city_remarks',
'created_at',
'updated_at',
];
}