One Hat Cyber Team
Your IP :
18.188.60.244
Server IP :
104.21.80.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
staging.gftag.com
/
app
/
Models
/
View File Name :
Supplier.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\HasOne; class Supplier extends Model { use HasFactory; protected $fillable = ['organisation_id', 'name', 'email', 'phone', 'address','code', 'status', 'gst_number', 'bank_details','state_id']; public function organisation(): BelongsTo { return $this->belongsTo(Organisation::class); } public function purchaseOrder(): HasOne { return $this->hasOne(PurchaseOrder::class); } }