One Hat Cyber Team
Your IP :
3.135.223.70
Server IP :
104.21.64.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 :
Customer.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 Customer extends Model { use HasFactory; protected $fillable = ['name', 'email', 'phone', 'address','code', 'organisation_id', 'state_id', 'gst', 'pin_code','shipping_address','credit_balance']; public function organisation(): HasOne { return $this->hasOne(Organisation::class); } public function sale(): HasOne { return $this->hasOne(Sale::class); } public function state(): BelongsTo { return $this->belongsTo(State::class); } }