One Hat Cyber Team
Your IP :
3.15.187.189
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
/
app.gftag.com
/
app
/
Models
/
Edit File:
ShareAllotment.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\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; class ShareAllotment extends Model { use HasFactory; protected $fillable = [ 'organisation_id', 'shareholder_id', 'allotment_date', 'no_of_share', 'total_amount', 'share_range', 'certificate_number' ]; public function organisation(): BelongsTo { return $this->belongsTo(Organisation::class); } public function shareholder(): BelongsTo { return $this->belongsTo(Shareholder::class); } }
Simpan