Changes 0228092025 Laptop
This commit is contained in:
@@ -13,6 +13,7 @@ class FieldJobSetting extends Model
|
||||
|
||||
protected $fillable = [
|
||||
'segment_id',
|
||||
'initial_decision_id',
|
||||
'asign_decision_id',
|
||||
'complete_decision_id',
|
||||
];
|
||||
@@ -27,6 +28,11 @@ public function asignDecision(): BelongsTo
|
||||
return $this->belongsTo(Decision::class, 'asign_decision_id');
|
||||
}
|
||||
|
||||
public function initialDecision(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Decision::class, 'initial_decision_id');
|
||||
}
|
||||
|
||||
public function completeDecision(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Decision::class, 'complete_decision_id');
|
||||
|
||||
Reference in New Issue
Block a user