Files
pds/app/Models/TestingLineVisualization.php
dhanabalan 4c284291f6
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 17s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 20s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 23s
Laravel Pint / pint (pull_request) Successful in 2m57s
Laravel Larastan / larastan (pull_request) Failing after 5m24s
Added migration (sale_order and job_order), and Updated model, policy, resource, importer, exporter, controller (Get API) with functionality for Testing Line Visualization
2026-11-05 19:17:08 +05:30

39 lines
767 B
PHP

<?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',
'sale_order',
'job_order',
'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);
}
}