10fbfc30aSopenharmony_ci/** 20fbfc30aSopenharmony_ci * @file Describe the file 30fbfc30aSopenharmony_ci * Copyright (c) 2023 Huawei Device Co., Ltd. 40fbfc30aSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 50fbfc30aSopenharmony_ci * you may not use this file except in compliance with the License. 60fbfc30aSopenharmony_ci * You may obtain a copy of the License at 70fbfc30aSopenharmony_ci * 80fbfc30aSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 90fbfc30aSopenharmony_ci * 100fbfc30aSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 110fbfc30aSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 120fbfc30aSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 130fbfc30aSopenharmony_ci * See the License for the specific language governing permissions and 140fbfc30aSopenharmony_ci * limitations under the License. 150fbfc30aSopenharmony_ci */ 160fbfc30aSopenharmony_ci 170fbfc30aSopenharmony_ciimport { Constants } from '../Constants'; 180fbfc30aSopenharmony_ci 190fbfc30aSopenharmony_ciinterface RemindersColumnsType { 200fbfc30aSopenharmony_ci TABLE_NAME: string; 210fbfc30aSopenharmony_ci ID: string; 220fbfc30aSopenharmony_ci EVENT_ID: string; 230fbfc30aSopenharmony_ci MINUTES: string; 240fbfc30aSopenharmony_ci METHOD: string; 250fbfc30aSopenharmony_ci CREATOR: string; 260fbfc30aSopenharmony_ci NOTIFICATION_REMINDER_ID: string; 270fbfc30aSopenharmony_ci} 280fbfc30aSopenharmony_ci 290fbfc30aSopenharmony_ci/** 300fbfc30aSopenharmony_ci * the const of table Reminders 310fbfc30aSopenharmony_ci * 320fbfc30aSopenharmony_ci * @since 2022-09-08 330fbfc30aSopenharmony_ci */ 340fbfc30aSopenharmony_ciexport const RemindersColumns: RemindersColumnsType = { 350fbfc30aSopenharmony_ci TABLE_NAME: 'Reminders', 360fbfc30aSopenharmony_ci ID: '_id', 370fbfc30aSopenharmony_ci EVENT_ID: 'event_id', 380fbfc30aSopenharmony_ci MINUTES: 'minutes', 390fbfc30aSopenharmony_ci METHOD: 'method', 400fbfc30aSopenharmony_ci CREATOR: Constants.CREATOR, 410fbfc30aSopenharmony_ci NOTIFICATION_REMINDER_ID: 'notification_reminder_id' 420fbfc30aSopenharmony_ci} 430fbfc30aSopenharmony_ci 440fbfc30aSopenharmony_ciexport enum MethodType { 450fbfc30aSopenharmony_ci DEFAULT = 0, 460fbfc30aSopenharmony_ci ALERT = 1, 470fbfc30aSopenharmony_ci EMAIL = 2, 480fbfc30aSopenharmony_ci SMS = 3, 490fbfc30aSopenharmony_ci ALARM = 4 500fbfc30aSopenharmony_ci}