1 /*
2  * Copyright (C) 2024 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 #ifndef INTERFACES_INNERKITS_NATIVE_INCLUDE_MEDIALIBRARY_BUSINESS_RECORD_COLUMN_H
17 #define INTERFACES_INNERKITS_NATIVE_INCLUDE_MEDIALIBRARY_BUSINESS_RECORD_COLUMN_H
18 
19 #include <string>
20 
21 #include "base_column.h"
22 
23 namespace OHOS::Media {
24 #define EXPORT __attribute__ ((visibility ("default")))
25 class MedialibraryBusinessRecordColumn : BaseColumn {
26 public:
27     // columns only in PhotoAlbumTable
28     static const std::string BUSINESS_TYPE EXPORT;
29     static const std::string KEY EXPORT;
30     static const std::string VALUE EXPORT;
31 
32     // table name
33     static const std::string TABLE EXPORT;
34     // create table sql
35     static const std::string CREATE_TABLE EXPORT;
36 
37     // index name
38     static const std::string BUSINESS_TYPE_INDEX EXPORT;
39 
40     //create unique index
41     static const std::string CREATE_BUSINESS_KEY_INDEX EXPORT;
42 };
43 } // namespace OHOS::Media
44 #endif // INTERFACES_INNERKITS_NATIVE_INCLUDE_MEDIALIBRARY_BUSINESS_RECORD_COLUMN_H