Merge pull request 'Added characteristic approve model file' (#242) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

Reviewed-on: #242
This commit was merged in pull request #242.
This commit is contained in:
2026-01-24 05:28:56 +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);
}
}