-
Notifications
You must be signed in to change notification settings - Fork 0
/
Student.hpp
30 lines (22 loc) · 871 Bytes
/
Student.hpp
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
#pragma once
#include <string>
#include "Person.hpp"
class Student : public Person {
public:
Student() = default;
Student(std::string name, std::string surname, std::string address, std::string peselNumber, std::string gender, std::string indexNumber);
~Student(){};
// void printBorderTop() override;
void printPerson() override;
//void printBorderBotton() override;
//size_t getBorderSize();
std::string getName() const { return name_; }
std::string getSurname() const { return surname_; }
std::string getAddress() const { return address_; }
std::string getPeselNumber() const { return peselNumber_; }
std::string getGender();
std::string getIndexNumber() const { return indexNumber_; }
size_t getSizeIndexNumberLimit() const { return sizeIndexNumberLimit_; }
private:
std::string indexNumber_ {};
};