32 lines
696 B
PHP
Executable File
32 lines
696 B
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace app\common\model\tcm;
|
|
|
|
use app\common\model\BaseModel;
|
|
use think\model\concern\SoftDelete;
|
|
|
|
/**
|
|
* 消费者处方业务订单(非支付单 zyt_order)
|
|
*/
|
|
class PrescriptionOrder extends BaseModel
|
|
{
|
|
use SoftDelete;
|
|
|
|
/** 已取消 / 已退款的历史订单不再占用处方;部分退款仍沿用原履约状态。 */
|
|
public const RELEASED_PRESCRIPTION_STATUSES = [4, 10];
|
|
|
|
protected $name = 'tcm_prescription_order';
|
|
|
|
protected $deleteTime = 'delete_time';
|
|
|
|
protected $autoWriteTimestamp = true;
|
|
|
|
protected $createTime = 'create_time';
|
|
|
|
protected $updateTime = 'update_time';
|
|
|
|
protected $dateFormat = false;
|
|
}
|