31 lines
723 B
PHP
31 lines
723 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class InvestorPerusahaanDetails extends Model
|
|
{
|
|
use HasFactory;
|
|
protected $table = 'investor_perusahaan_details';
|
|
public $timestamps = true;
|
|
|
|
protected $fillable = [
|
|
'investor_details_id',
|
|
'company_name',
|
|
// 'foto',
|
|
'establishment_date_inves_perusahaan',
|
|
'description_inves_perusahaan',
|
|
'npwp_number_inves_perusahaan',
|
|
'siup_number_inves_perusahaan',
|
|
'nib_number',
|
|
'profit_inves_perusahaan',
|
|
];
|
|
|
|
public function investorDetails()
|
|
{
|
|
return $this->belongsTo(InvestorDetails::class);
|
|
}
|
|
}
|