Files
pds/app/Models/TempStopCharacteristic.php
dhanabalan e7fc8863e5
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Added temp stop characteristics model and policy files
2026-09-14 12:34:05 +05:30

48 lines
962 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
class TempStopCharacteristic extends Model
{
use SoftDeletes;
protected $fillable = [
'plant_id',
'machine_id',
'item_id',
'machine_name',
'aufnr',
'gernr',
'zmm_heading',
'model_type',
'characteristic_field',
'samlight_logged_name',
'stopped_at',
'stopped_by',
'has_stop_flow_id',
'created_at',
'updated_at',
'created_by',
'updated_by',
];
public function plant(): BelongsTo
{
return $this->belongsTo(Plant::class);
}
public function item(): BelongsTo
{
return $this->belongsTo(Item::class);
}
public function machine(): BelongsTo
{
return $this->belongsTo(Machine::class);
}
}