55 lines
1.6 KiB
PHP
55 lines
1.6 KiB
PHP
<?php
|
|
|
|
namespace App\Models\Business;
|
|
|
|
use App\Abstracts\Model;
|
|
|
|
class CompanyInformation extends Model
|
|
{
|
|
protected $table = 'business_company_information';
|
|
|
|
protected $fillable = [
|
|
'company_id',
|
|
'unified_social_credit_code',
|
|
'company_name',
|
|
'subscribed_capital',
|
|
'company_type',
|
|
'establishment_date',
|
|
'legal_representative',
|
|
'registered_address',
|
|
'business_scope',
|
|
'basic_deposit_account_number',
|
|
'company_status',
|
|
'financial_officer',
|
|
'supervisor',
|
|
'taxpayer_category',
|
|
'shareholders',
|
|
];
|
|
|
|
protected $casts = [
|
|
'company_id' => 'integer',
|
|
'subscribed_capital' => 'decimal:2',
|
|
'establishment_date' => 'date:Y-m-d',
|
|
];
|
|
|
|
public static function columnLabels(): array
|
|
{
|
|
return [
|
|
'unified_social_credit_code' => '统一社会信用代码',
|
|
'company_name' => '公司名称',
|
|
'subscribed_capital' => '认缴注册资本(万元)',
|
|
'company_type' => '类型',
|
|
'establishment_date' => '成立日期',
|
|
'legal_representative' => '法定代表人',
|
|
'registered_address' => '注册地址(住所)',
|
|
'business_scope' => '经营范围',
|
|
'basic_deposit_account_number' => '基本存款账户编号',
|
|
'company_status' => '公司状态',
|
|
'financial_officer' => '财务负责人',
|
|
'supervisor' => '监事',
|
|
'taxpayer_category' => '纳税类别及类型',
|
|
'shareholders' => '股东',
|
|
];
|
|
}
|
|
}
|