1
0
forked from poc/pds

Added mfm meter model file

This commit is contained in:
dhanabalan
2025-07-18 17:56:34 +05:30
parent 33881a3978
commit 418e4fcf79

27
app/Models/MfmMeter.php Normal file
View File

@@ -0,0 +1,27 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
class MfmMeter extends Model
{
use SoftDeletes;
protected $fillable = [
'plant_id',
'sequence',
'name',
'created_at',
'updated_at',
'created_by',
];
public function plant(): BelongsTo
{
return $this->belongsTo(Plant::class);
}
}