CaiWuXiTong/app/Models/Business/StoreInvoice.php

29 lines
798 B
PHP

<?php
namespace App\Models\Business;
class StoreInvoice extends BusinessModel
{
protected $table = 'ak_biz_store_invoice';
protected $casts = [
'invoice_amount' => 'decimal:2',
'invoice_date' => 'date',
];
public static function columnLabels(): array
{
return [
'store' => '店铺',
'seller_name' => '销售方名称',
'seller_tax_no' => '销售方税号',
'buyer_name' => '购买方名称',
'buyer_tax_no' => '购买方税号',
'invoice_amount' => '开票金额',
'invoice_category' => '类目',
'invoice_type' => '开票类型',
'invoice_date' => '开票日期',
];
}
}