Files
Datastructs/Exam/IKT203Exam/Portfolio/Assignment-03/TEmployee.h
2025-11-18 13:23:54 +01:00

27 lines
508 B
C++

#ifndef IKT203_COURSE_ASSIGNMENTS_TEMPLOYEE_H
#define IKT203_COURSE_ASSIGNMENTS_TEMPLOYEE_H
#include <string>
#include <utility>
// Simple employee record used in Category 3.
// 'id' is set later by IdGenerator and used as the BST key.
struct TEmployee {
std::string firstName;
std::string lastName;
int id;
TEmployee(std::string f, std::string l) : firstName(std::move(f)), lastName(std::move(l)) {};
~TEmployee() = default;
};
#endif //IKT203_COURSE_ASSIGNMENTS_TEMPLOYEE_H