表名同步

This commit is contained in:
wong
2025-04-12 18:31:53 +08:00
parent 192701e41e
commit 8d96110767
12 changed files with 174 additions and 128 deletions

View File

@@ -10,8 +10,9 @@ use think\model\concern\SoftDelete;
*/
class Workbench extends Model
{
protected $table = 'ck_workbench';
protected $pk = 'id';
protected $name = 'workbenches';
// 自动写入时间戳
protected $autoWriteTimestamp = true;