新增功能页面: - 货款对账 (payment-reconciliation): 入库+代发合并对账,228K+2.8M条记录 - 退货对账 (return-reconciliation): finance_purchaseReturn, 36791行 - 发票扣款 (invoice-deductions): finance_invoiceDeduction, 195行 - 赔偿明细 (compensation-details): 纸板厂+压板厂 UNION, 98行 - 借支明细 (advance-details): finance_advanceLoans, 4行 - 样品扣款 (sample-deductions): finance_sampleDeduction, 12行 后端: - JianSunConnection: PDO_ODBC 直连 SQL Server - SupplierPayableRepository: 5个子页面的数据查询+分页 - GoodsReconciliationRepository: 货款对账数据查询 - 15个新API路由 (supplier-payables/*) - 12个JianSun Eloquent模型 前端: - 6个Blade视图 + 6个Vue组件 - webpack.mix.js 新增5个编译入口 - show.blade.php 动态视图解析
28 lines
639 B
PHP
28 lines
639 B
PHP
<?php
|
|
|
|
namespace Modules\EcommerceFinance\Models\JianSun;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Base Model for JianSun SQL Server database tables.
|
|
* All models extending this will automatically use the 'jiansun' connection.
|
|
*/
|
|
abstract class JianSunModel extends Model
|
|
{
|
|
/** @var string */
|
|
protected $connection = 'jiansun';
|
|
|
|
/** @var bool JianSun tables don't use Laravel timestamps */
|
|
public $timestamps = false;
|
|
|
|
/** @var string No prefix on JianSun tables */
|
|
protected $prefix = '';
|
|
|
|
/** @var string */
|
|
protected $primaryKey = 'id';
|
|
|
|
/** @var bool */
|
|
public $incrementing = true;
|
|
}
|