-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPicture.h
More file actions
33 lines (25 loc) · 774 Bytes
/
Picture.h
File metadata and controls
33 lines (25 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// Created by 26473 on 24-5-6.
//
#ifndef MEDIA_LIBRARY_MANAGEMENTV1_0_PICTURE_H
#define MEDIA_LIBRARY_MANAGEMENTV1_0_PICTURE_H
#include <string>
class Picture {
private:
std::string number;
std::string title;
std::string author;
std::string rating;
std::string international;
std::string length;
std::string width;
public:
// 构造函数
Picture(const std::string &num, const std::string &t, const std::string &auth, const std::string &rat,
const std::string &internat, const std::string &leng, const std::string &wid);
// 生成 SQL 插入语句
std::string generateSQL() const;
// 生成 SQL 更新语句
std::string generateUpdateSQL() const;
};
#endif //MEDIA_LIBRARY_MANAGEMENTV1_0_PICTURE_H