备份:保存本地业务模型(3/6)
This commit is contained in:
parent
877108b144
commit
c7fdf2e40b
16
app/Models/Business/InputInvoiceReport.php
Normal file
16
app/Models/Business/InputInvoiceReport.php
Normal 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',
|
||||
];
|
||||
}
|
||||
16
app/Models/Business/InvoiceBasicInfo.php
Normal file
16
app/Models/Business/InvoiceBasicInfo.php
Normal 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',
|
||||
];
|
||||
}
|
||||
16
app/Models/Business/OutputInvoiceReport.php
Normal file
16
app/Models/Business/OutputInvoiceReport.php
Normal 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',
|
||||
];
|
||||
}
|
||||
16
app/Models/Business/PaymentStatistics.php
Normal file
16
app/Models/Business/PaymentStatistics.php
Normal 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',
|
||||
];
|
||||
}
|
||||
16
app/Models/Business/ProcessStatistics.php
Normal file
16
app/Models/Business/ProcessStatistics.php
Normal 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',
|
||||
];
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user