update entry/src/main/ets/Utils/SettingsDataConfig.ets.

Signed-off-by: chenlang <chenlang28@h-partners.com>
This commit is contained in:
chenlang 2023-10-10 02:04:28 +00:00 committed by Gitee
parent 61fcf13b62
commit e514b2948a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,25 +1,33 @@
/**
* Copyright (c) 2021-2023 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Copyright (c) 2021-2023 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
const SettingsDataConfig = {
DB_NAME: 'settingsdata.db',
TABLE_NAME: 'SETTINGSDATA',
USER_TABLE_NAME: 'USER_SETTINGSDATA',
FIELD_ID: 'ID',
FIELD_KEYWORD: 'KEYWORD',
FIELD_VALUE: 'VALUE'
};
interface SettingsDataBaseConfig {
DB_NAME: string;
TABLE_NAME: string;
USER_TABLE_NAME: string;
FIELD_ID: string;
FIELD_KEYWORD: string;
FIELD_VALUE: string;
}
const SettingsDataConfig: SettingsDataBaseConfig = {
DB_NAME: 'settingsdata.db',
TABLE_NAME: 'SETTINGSDATA',
USER_TABLE_NAME: 'USER_SETTINGSDATA',
FIELD_ID: 'ID',
FIELD_KEYWORD: 'KEYWORD',
FIELD_VALUE: 'VALUE'
};
export default SettingsDataConfig;
export default SettingsDataConfig;