20 lines
277 B
C++
20 lines
277 B
C++
#ifndef COURSE_H
|
|
#define COURSE_H
|
|
|
|
#include <string>
|
|
|
|
class Course {
|
|
private:
|
|
int id;
|
|
std::string name;
|
|
|
|
public:
|
|
Course(int id, const std::string& name);
|
|
|
|
int getId() const;
|
|
std::string getName() const;
|
|
|
|
void setName(const std::string& name);
|
|
};
|
|
|
|
#endif |