1/** 2 * Copyright (c) 2023 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 searchcontact table 20 */ 21export default class SearchContactsColumns extends BaseColumns { 22 static readonly ACCOUNT_ID: string = 'account_id'; 23 static readonly CONTACT_ID: string = 'contact_id'; 24 static readonly ROW_CONTACT_ID: string = 'raw_contact_id'; 25 static readonly SEARCH_NAME: string = 'search_name'; 26 static readonly DISPLAY_NAME: string = 'display_name'; 27 static readonly PHONETIC_NAME: string = 'phonetic_name'; 28 static readonly PHOTO_ID: string = 'photo_id'; 29 static readonly PHOTO_FILE_ID: string = 'photo_file_id'; 30 static readonly IS_DELETED: string = 'is_deleted'; 31 static readonly TYPE_ID: string = 'type_id'; 32 static readonly POSITION: string = 'position'; 33 static readonly DETAIL_INFO: string = 'detail_info'; 34 static readonly PHOTO_FIRST_NAME: string = 'photo_first_name'; 35 static readonly SORT_FIRST_LETTER: string = 'sort_first_letter'; 36 static readonly CUSTOM_DATA: string = 'custom_data'; 37 static readonly CONTENT_TYPE: string = 'content_type'; 38 static readonly HAS_PHONE_NUMBER: string = 'has_phone_number'; 39}