erp_old/app/common/model/retail/Cashierclass.php

28 lines
559 B
PHP
Raw Normal View History

2024-04-26 11:26:12 +08:00
<?php
namespace app\common\model\retail;
2024-05-10 11:56:10 +08:00
use app\common\model\auth\Admin;
2024-04-26 11:26:12 +08:00
use app\common\model\BaseModel;
2024-05-10 11:56:10 +08:00
use app\common\model\merchant\Merchant;
use app\common\model\user\User;
2024-04-26 11:26:12 +08:00
use think\model\concern\SoftDelete;
/**
* 零售订单模型
* Class Cashierclass
* @package app\common\model\retail
*/
class Cashierclass extends BaseModel
{
use SoftDelete;
protected $name = 'cashierclass';
protected $deleteTime = 'delete_time';
2024-05-10 11:56:10 +08:00
public function getAuditingtimeAttr($value){
return !empty($value) ? date('Y-m-d H:i:s',$value) : '';
}
2024-04-26 11:26:12 +08:00
}