Added characteristic approve model file #242

Merged
jothi merged 1 commits from ranjith-dev into master 2026-01-24 05:28:57 +00:00

View File

@@ -0,0 +1,43 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
class CharacteristicApproverMaster extends Model
{
use SoftDeletes;
protected $fillable = [
'plant_id',
'machine_id',
'machine_name',
'name1',
'mail1',
'name2',
'mail2',
'name3',
'mail3',
'duration1',
'duration2',
'duration3',
'characteristic_field',
'created_at',
'updated_at',
'created_by',
'updated_by',
];
public function plant(): BelongsTo
{
return $this->belongsTo(Plant::class);
}
public function machine(): BelongsTo
{
return $this->belongsTo(Machine::class);
}
}