All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
36 lines
642 B
PHP
36 lines
642 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
class CoilPacking extends Model
|
|
{
|
|
use SoftDeletes;
|
|
|
|
protected $fillable = [
|
|
'plant_id',
|
|
'item_id',
|
|
'coil_packing_number',
|
|
'process_order',
|
|
'coil_packing_status',
|
|
'created_at',
|
|
'updated_at',
|
|
'scanned_at',
|
|
'created_by',
|
|
'updated_by',
|
|
'scanned_by',
|
|
];
|
|
|
|
public function plant()
|
|
{
|
|
return $this->belongsTo(Plant::class);
|
|
}
|
|
|
|
public function item()
|
|
{
|
|
return $this->belongsTo(Item::class);
|
|
}
|
|
}
|