31 lines
862 B
PHP
31 lines
862 B
PHP
<?php
|
|
|
|
namespace App\Models\Business;
|
|
|
|
use App\Abstracts\Model;
|
|
|
|
class SwPlanning extends Model
|
|
{
|
|
protected $table = 'business_sw_planning';
|
|
|
|
protected $fillable = ['company_id', 'company_name', 'final_tax_performance', 'product_cost', 'logistics_cost', 'platform_invoice', 'labor_cost', 'other_expenses', 'profit'];
|
|
|
|
protected $casts = [
|
|
'company_id' => 'integer',
|
|
];
|
|
|
|
public static function columnLabels(): array
|
|
{
|
|
return [
|
|
'company_name' => '公司名称',
|
|
'final_tax_performance' => '最终税务业绩',
|
|
'product_cost' => '产品成本',
|
|
'logistics_cost' => '物流成本',
|
|
'platform_invoice' => '平台开票',
|
|
'labor_cost' => '人工成本',
|
|
'other_expenses' => '其他费用',
|
|
'profit' => '利润',
|
|
];
|
|
}
|
|
}
|