Added plant in model file

This commit is contained in:
dhanabalan
2025-07-10 15:12:01 +05:30
parent 4311c64531
commit 170b784a9b

View File

@@ -12,6 +12,7 @@ class AlertMailRule extends Model
protected $fillable = [
'module',
'plant',
'rule_name',
'email',
'schedule_type',
@@ -21,8 +22,8 @@ class AlertMailRule extends Model
'updated_by',
];
public function plant(): BelongsTo
{
return $this->belongsTo(Plant::class);
}
// public function plant(): BelongsTo
// {
// return $this->belongsTo(Plant::class);
// }
}