💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
~~~ // 数据表名,不包括表前缀 $this->table = 'account'; // 数据表别名,一般在有连表查询时需要设置 $this->alias = 'a'; // 主键,默认为id $this->pk = 'id'; // 是否自动打时间标记,默认为FALSE $this->timestamps = FALSE; // 添加时间字段名,必须timestamps为TRUE时有效 // 在执行insert操作时会自动维护数据表中的 $this->createAt 字段为当期时间 $this->createAt = 'create_at'; // 更新时间字段名,必须timestamps为TRUE时有效 // 在执行update操作时会自动维护数据表中的 $this->updateAt 字段为当期时间 $this->updateAt = 'update_at'; ~~~