备份:保存本地业务模型(3/6)

This commit is contained in:
shanshi 2026-07-22 15:13:07 +08:00
parent 877108b144
commit c7fdf2e40b
5 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<?php
namespace App\Models\Business;
use App\Abstracts\Model;
class InputInvoiceReport extends Model
{
protected $table = 'business_input_invoice_reports';
protected $fillable = ['company_id', 'company_name', 'input_goods_amount', 'input_goods_tax', 'input_service_amount', 'input_service_tax', 'input_total_amount', 'input_total_tax'];
protected $casts = [
'company_id' => 'integer',
];
}

View File

@ -0,0 +1,16 @@
<?php
namespace App\Models\Business;
use App\Abstracts\Model;
class InvoiceBasicInfo extends Model
{
protected $table = 'business_invoice_basic_info';
protected $fillable = ['company_id', 'store_name', 'store_entity', 'invoice_officer', 'invoice_quota', 'output_amount', 'input_amount'];
protected $casts = [
'company_id' => 'integer',
];
}

View File

@ -0,0 +1,16 @@
<?php
namespace App\Models\Business;
use App\Abstracts\Model;
class OutputInvoiceReport extends Model
{
protected $table = 'business_output_invoice_reports';
protected $fillable = ['company_id', 'company_name', 'output_goods_amount', 'output_goods_tax', 'output_service_amount', 'output_service_tax', 'output_total_amount', 'output_total_tax'];
protected $casts = [
'company_id' => 'integer',
];
}

View File

@ -0,0 +1,16 @@
<?php
namespace App\Models\Business;
use App\Abstracts\Model;
class PaymentStatistics extends Model
{
protected $table = 'business_payment_statistics';
protected $fillable = ['company_id', 'payment_type', 'total_count', 'completed_count', 'pending_count', 'total_amount', 'period'];
protected $casts = [
'company_id' => 'integer',
];
}

View File

@ -0,0 +1,16 @@
<?php
namespace App\Models\Business;
use App\Abstracts\Model;
class ProcessStatistics extends Model
{
protected $table = 'business_process_statistics';
protected $fillable = ['company_id', 'process_name', 'total_count', 'completed_count', 'pending_count', 'period'];
protected $casts = [
'company_id' => 'integer',
];
}