1/** 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16import BaseColumns from './BaseColumns'; 17 18/** 19 * Field constants in the contact rawcontact table 20 */ 21export default class RawContactsColumns extends BaseColumns { 22 static readonly CONTACT_ID: string = 'contact_id'; 23 static readonly PHOTO_ID: string = 'photo_id'; 24 static readonly PHOTO_FILE_ID: string = 'photo_file_id'; 25 static readonly IS_TRANSFER_VOICEMAIL: string = 'is_transfer_voicemail'; 26 static readonly PERSONAL_RINGTONE: string = 'personal_ringtone'; 27 static readonly IS_DELETED: string = 'is_deleted'; 28 static readonly PERSONAL_NOTIFICATION_RINGTONE: string = 'personal_notification_ringtone'; 29 static readonly PHOTO_FIRST_NAME: string = 'photo_first_name'; 30 static readonly ACCOUNT_ID: string = 'account_id'; 31 static readonly VERSION: string = 'version'; 32 static readonly DISPLAY_NAME: string = 'display_name'; 33 static readonly SORT: string = 'sort'; 34 static readonly CONTACTED_COUNT: string = 'contacted_count'; 35 static readonly LASTEST_CONTACTED_TIME: string = 'lastest_contacted_time'; 36 static readonly FAVORITE: string = 'favorite'; 37 static readonly FAVORITE_ORDER: string = 'favorite_order'; 38 static readonly PHONETIC_NAME: string = 'phonetic_name'; 39 static readonly PHONETIC_NAME_TYPE: string = 'phonetic_name_type'; 40 static readonly COMPANY: string = 'company'; 41 static readonly POSITION: string = 'position'; 42 static readonly READ_ONLY: string = 'read_only'; 43 static readonly SORT_FIRST_LETTER: string = 'sort_first_letter'; 44 static readonly MERGE_MODE: string = 'merge_mode'; 45 static readonly IS_NEED_MERGE: string = 'is_need_merge'; 46 static readonly MERGE_STATUS: string = 'merge_status'; 47 static readonly IS_MERGE_TARGET: string = 'is_merge_target'; 48 static readonly VIBRATION_SETTING: string = 'vibration_setting'; 49 static readonly SYNC_ID: string = 'sync_id'; 50 static readonly SYNC_1: string = 'syn_1'; 51 static readonly SYNC_2: string = 'syn_2'; 52 static readonly SYNC_3: string = 'syn_3'; 53}