This commit is contained in:
zimoyin
2026-04-02 17:42:00 +08:00
parent ac95dbb1c8
commit 4c841b9dbf
963 changed files with 347242 additions and 354 deletions
+42
View File
@@ -0,0 +1,42 @@
<?php
namespace app\model;
use support\Model;
/**
* WaOptions 模型
* 表说明:选项表
* 对应数据表:wa_options
* @property string $id id(非空,主键)
* @property string $name name 键(非空)
* @property string $value value 值(非空)
* @property string $created_at created_at 创建时间(非空,默认值:2022-08-15 00:00:00
* @property string $updated_at updated_at 更新时间(非空,默认值:2022-08-15 00:00:00
*/
class WaOptions extends Model
{
/**
* 数据表名
* @var string
*/
protected $table = 'wa_options';
/**
* 主键字段名
* @var string
*/
protected $pk = 'id';
/**
* 关闭自动时间戳(如需开启请改为 true,需确保表有 create_time/update_time 字段)
* @var bool
*/
protected $autoWriteTimestamp = false;
/**
* 字段严格检查(false=允许操作未定义字段)
* @var bool
*/
protected $strict = false;
}