1/** 2 * @file Describe the file 3 * Copyright (c) 2023 Huawei Device Co., Ltd. 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17import { Constants } from '../Constants'; 18 19interface CalendarAlertsColumnsType { 20 TABLE_NAME: string; 21 ID: string; 22 EVENT_ID: string; 23 BEGIN: string; 24 END: string; 25 ALARM_TIME: string; 26 CREATION_TIME: string; 27 RECEIVED_TIME: string; 28 NOTIFY_TIME: string; 29 STATE: string; 30 MINUTES: string; 31 CREATOR: string; 32} 33 34/** 35 * the const of table CalendarAlerts 36 * 37 * @since 2022-09-08 38 */ 39export const CalendarAlertsColumns: CalendarAlertsColumnsType = { 40 TABLE_NAME: 'CalendarAlerts', 41 ID: '_id', 42 EVENT_ID: 'event_id', 43 BEGIN: 'begin', 44 END: 'end', 45 ALARM_TIME: 'alarmTime', 46 CREATION_TIME: 'creationTime', 47 RECEIVED_TIME: 'receivedTime', 48 NOTIFY_TIME: 'notifyTime', 49 STATE: 'state', 50 MINUTES: 'minutes', 51 CREATOR: Constants.CREATOR, 52}