Added migration, model, policy, resource, importer, exporter, controller (Get API) with validation and functionality for Testing Line Visualization
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s

This commit is contained in:
dhanabalan
2026-11-03 11:19:07 +05:30
parent 20e64ba356
commit 5c0ed45f74
11 changed files with 1477 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
class TestingLineVisualization extends Model
{
use SoftDeletes;
protected $fillable = [
'plant_id',
'test_bed_group',
'line_no',
'pump_model',
'pump_type',
'motor_details',
'test_type',
'flow',
'head',
'run_time',
'live_status',
'observation_remarks',
'created_at',
'created_by',
'updated_at',
'updated_by',
];
public function plant(): BelongsTo
{
return $this->belongsTo(Plant::class);
}
}