You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/app/common/model/Standard.php

27 lines
401 B

<?php
declare (strict_types=1);
namespace app\common\model;
use cores\BaseModel;
/**
* 审单记录表模型
* Class Store
* @package app\common\model
*/
class Standard extends BaseModel
{
// 定义表名
protected $name = 'standard';
// 定义主键
protected $pk = 'id';
public function insertStandard(array $data)
{
return $this->save($data);
}
}