Files
dsserver/app/model/WaOptions.php
T
zimoyin 4c841b9dbf init
2026-04-02 17:42:00 +08:00

42 lines
1009 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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;
}