'id',
'sCode' => 'sCode',
'sAuthorCode'=> 'sAuthorCode',
'status' => 'status',
'aOpt' => 'aOpt',
'aSchemaPro'=> 'aSchemaPro',
'created_at'=> 'created_at',
'updated_at'=> 'updated_at',
];
protected array $aValueStyle = [ // 特定文字渲染样式
'关闭' => "关闭",
'开启' => "开启"
];
protected array $aFieldTypes = [
// 'schema' => 'text',
// 'schema_pro' => 'text',
// 'cmd' => 'text',
// 'cmd_log' => 'text',
// 'opt' => 'text'
'aOpt' => 'json',
'aSchemaPro' => 'json',
// 'aSchema' => 'array',
];
protected array $aOrderBy = [
[
"sField" => "id",
"sSort" => "desc",
]
];
protected array $aJsonFields = [ // json字段
// 'schema'
];
protected array $aDateFields = [ // date字段
// 'dtUpdatedAt'
];
protected array $aLenthFields = [ // 限制长度的字段
// "xx" => 100,
];
protected array $aSelectFields = [ // 作为默认select的字段
// 'status',
];
protected array $aValueFields = [ // 值映射
'status' => [
'1' => '开启',
'0' => '关闭',
]
];
protected array $aCcExtFields = [
// 'dtCreatedAt' => '创建时间'
];
// protected array $aLimit = [3, 15, 40, 100]; // list长度,第一个为默认
}