Added temp stop characteristics model and policy files
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s

This commit is contained in:
dhanabalan
2026-09-14 12:34:05 +05:30
parent e489be4e57
commit e7fc8863e5
2 changed files with 152 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
<?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);
}
}