初始化

This commit is contained in:
2025-06-17 09:46:57 +08:00
parent 78600b89b7
commit 7c393a3b16
14 changed files with 9317 additions and 5 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class PhotoAlbumModel extends Model
{
//
protected $table = 'nl_photo_album';
protected $guarded = [];
public $timestamps = false;
public function photos()
{
return $this->hasMany(ImagesModel::class, 'photo_album_id', 'id');
}
}