diff --git a/app/Models/AlertMailRule.php b/app/Models/AlertMailRule.php index 66aac77..b64272f 100644 --- a/app/Models/AlertMailRule.php +++ b/app/Models/AlertMailRule.php @@ -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); + // } }