revert register for sessions. photos with different settings, settings configurable
This commit is contained in:
DigitalInfinity committed 2026-06-07 21:30:34 +02:00
1 parent 5596437995
commit 858a451396
14 files changed
+71 -515

No files matched your search

+1 -12
View File
@@ -3,19 +3,8 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class PhotoJob extends Model
{
protected $fillable = ['image_path', 'status', 'photo_session_id', 'photo_setting_id'];
public function session(): BelongsTo
{
return $this->belongsTo(PhotoSession::class, 'photo_session_id');
}
public function setting(): BelongsTo
{
return $this->belongsTo(PhotoSetting::class, 'photo_setting_id');
}
protected $fillable = ['image_path', 'status'];
}