- 移除 PsiOrder、PsiProduct、Warehouse 等模型类 - 删除 PsiOrderController、PsiProductController 控制器 - 移除 PsiOrderLists 列表类 - 清理 StoreProductLists 中的冗余代码 - 更新 Warehouse 和 WarehouseStorege 模型的表名
47 lines
963 B
PHP
47 lines
963 B
PHP
<?php
|
|
|
|
namespace app\common\model\psi\purchase_product;
|
|
|
|
|
|
use app\common\model\BaseModel;
|
|
use think\model\concern\SoftDelete;
|
|
|
|
/**
|
|
* 入库商品信息模型
|
|
* Class PurchaseProduct
|
|
* @package app\common\model\psi\purchase_product
|
|
*/
|
|
class PurchaseProduct extends BaseModel
|
|
{
|
|
use SoftDelete;
|
|
protected $name = 'psi_purchase_product';
|
|
protected $deleteTime = 'delete_time';
|
|
public $ignoreLogFields = [
|
|
'price',
|
|
'total_price',
|
|
'status',
|
|
'pay_type',
|
|
'is_pay',
|
|
'vip_price',
|
|
'cost',
|
|
'purchase',
|
|
'total_price',
|
|
'mark',
|
|
'after_nums',
|
|
'before_nums',
|
|
'batch',
|
|
'enter_admin_id',
|
|
'admin_id',
|
|
'financial_pm',
|
|
'expiration_date',
|
|
'manufacture',
|
|
'code',
|
|
'oid',
|
|
'unit',
|
|
'store_id',
|
|
'supplier_id',
|
|
'warehouse_id',
|
|
'create_time',
|
|
'update_time',
|
|
];
|
|
} |