• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
16
17/**
18 * SearchContactsBean List Data Structure Entity
19 */
20export class SearchContactsBean {
21  id: string;
22  accountId: string;
23  contactId: string;
24  rawContactId: string;
25  searchName: string;
26  displayName: string;
27  phoneticName: string;
28  photoId: string;
29  photoFileId: string;
30  isDeleted: number;
31  position: string;
32  photoFirstName: string;
33  sortFirstLetter: string;
34  portraitColor: string;
35  portraitPath: string;
36  detailInfo: string;
37  hasPhoneNumber: string;
38
39  constructor(
40    id: string,
41    accountId: string,
42    contactId: string,
43    rawContactId: string,
44    searchName: string,
45    displayName: string,
46    phoneticName: string,
47    photoId: string,
48    photoFileId: string,
49    isDeleted: number,
50    position: string,
51    photoFirstName: string,
52    sortFirstLetter: string,
53    portraitColor: string,
54    detailInfo: string,
55    hasPhoneNumber: string,
56  ) {
57    this.id = id;
58    this.accountId = accountId;
59    this.contactId = contactId;
60    this.rawContactId = rawContactId;
61    this.searchName = searchName;
62    this.displayName = displayName;
63    this.phoneticName = phoneticName;
64    this.photoId = photoId;
65    this.photoFileId = photoFileId;
66    this.isDeleted = isDeleted;
67    this.position = position;
68    this.photoFirstName = photoFirstName;
69    this.sortFirstLetter = sortFirstLetter;
70    this.portraitColor = portraitColor;
71    this.detailInfo = detailInfo;
72    this.detailInfo = hasPhoneNumber;
73  }
74}
75