jce-manager/src/jceData/course.h

53 lines
1,004 B
C
Raw Normal View History

2014-09-08 15:54:52 +00:00
#ifndef COURSE_H
#define COURSE_H
/* This Code Made By Sagi Dayan
* SagiDayan@gmail.com
* & Liran Ben Gida
2014-09-08 15:54:52 +00:00
* LiranBG@gmail.com
*/
#include <QString>
2014-09-08 15:54:52 +00:00
#include <list>
2014-10-10 18:51:14 +00:00
/**
* @brief The Course class
*
* This class is a prototype of a basic course structure
*
* Made By:
* Sagi Dayan, SagiDayan@gmail.com
* Liran Ben Gida, LiranBG@gmail.com
* On 31/8/2014
*/
2014-09-08 15:54:52 +00:00
class Course {
public:
Course(int serial,QString name, QString type) {
2014-09-08 15:54:52 +00:00
this->serialNum = serial;
this->name = name;
this->type = type;
}
virtual ~Course() { }
int getSerialNum() const {return this->serialNum;}
virtual QString getName() const {return this->name;}
virtual QString getType() const {return this->type;}
2014-09-08 15:54:52 +00:00
virtual void setName(QString name) { this->name = name;}
virtual void setType(QString type){ this->type = type;}
2014-09-08 15:54:52 +00:00
private:
int serialNum;
QString name;
QString type;
2014-09-08 15:54:52 +00:00
};
#endif