revert 17c1c2a521
revert register for sessions. photos with different settings, settings configurable
This commit is contained in:
1 parent
5596437995
commit
858a451396
14 files changed
+71
-515
No files matched your search
+1
-12
@@ -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'];
|
||||
}
|
||||
Reference in new issue
Block a user