Added plant in model file
This commit is contained in:
@@ -12,6 +12,7 @@ class AlertMailRule extends Model
|
|||||||
|
|
||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'module',
|
'module',
|
||||||
|
'plant',
|
||||||
'rule_name',
|
'rule_name',
|
||||||
'email',
|
'email',
|
||||||
'schedule_type',
|
'schedule_type',
|
||||||
@@ -21,8 +22,8 @@ class AlertMailRule extends Model
|
|||||||
'updated_by',
|
'updated_by',
|
||||||
];
|
];
|
||||||
|
|
||||||
public function plant(): BelongsTo
|
// public function plant(): BelongsTo
|
||||||
{
|
// {
|
||||||
return $this->belongsTo(Plant::class);
|
// return $this->belongsTo(Plant::class);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user