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 table
20 */
21export default class ContactsColumns extends BaseColumns {
22  static readonly NAME_RAW_CONTACT_ID: string = 'name_raw_contact_id';
23  static readonly PHOTO_ID: string = 'photo_id';
24  static readonly PHOTO_FILE_ID: string = 'photo_file_id';
25  static readonly PERSONAL_RINGTONE: string = 'personal_ringtone';
26  static readonly IS_TRANSFER_VOICEMAIL: string = 'is_transfer_voicemail';
27  static readonly COMPANY: string = 'company';
28  static readonly POSITION: string = 'position';
29  static readonly QUICK_SEARCH_KEY: string = 'quick_search_key';
30  static readonly READ_ONLY: string = 'read_only';
31  static readonly PERSONAL_NOTIFICATION_RINGTONE: string = 'personal_notification_ringtone';
32  static readonly HAS_PHONE_NUMBER: string = 'has_phone_number';
33  static readonly HAS_DISPLAY_NAME: string = 'has_display_name';
34  static readonly HAS_EMAIL: string = 'has_email';
35  static readonly HAS_GROUP: string = 'has_group';
36}