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

This commit is contained in:
shanshi 2026-07-22 15:13:14 +08:00
parent c7fdf2e40b
commit acefe4e0cd
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 StoreChange extends Model
{
protected $table = 'business_store_changes';
protected $fillable = ['company_id', 'store_name', 'change_type', 'change_status', 'notes'];
protected $casts = [
'company_id' => 'integer',
];
}

View File

@ -0,0 +1,16 @@
<?php
namespace App\Models\Business;
use App\Abstracts\Model;
class StoreChangeLog extends Model
{
protected $table = 'business_store_change_logs';
protected $fillable = ['company_id', 'store_name', 'store_entity', 'change_date', 'receiving_account_info', 'historical_entity'];
protected $casts = [
'company_id' => 'integer',
];
}

View File

@ -0,0 +1,16 @@
<?php
namespace App\Models\Business;
use App\Abstracts\Model;
class StoreClosing extends Model
{
protected $table = 'business_store_closings';
protected $fillable = ['company_id', 'store_name', 'closing_status', 'notes'];
protected $casts = [
'company_id' => 'integer',
];
}

View File

@ -0,0 +1,16 @@
<?php
namespace App\Models\Business;
use App\Abstracts\Model;
class StoreInvoicing extends Model
{
protected $table = 'business_store_invoicing';
protected $fillable = ['company_id', 'store_name', 'seller_name', 'seller_tax_number', 'buyer_name', 'buyer_tax_number', 'invoice_amount', 'category', 'invoice_type'];
protected $casts = [
'company_id' => 'integer',
];
}

View File

@ -0,0 +1,16 @@
<?php
namespace App\Models\Business;
use App\Abstracts\Model;
class StoreOpening extends Model
{
protected $table = 'business_store_openings';
protected $fillable = ['company_id', 'store_name', 'store_platform', 'opening_status', 'notes'];
protected $casts = [
'company_id' => 'integer',
];
}