Add missing header

This commit is contained in:
Tinu Johnson
2026-04-13 09:56:41 +05:30
parent 83f1c4183c
commit 85f97f30f9
7 changed files with 24 additions and 6 deletions
@@ -1,11 +1,12 @@
/* /*
* File: Announcement.cpp * File: Announcement.cpp
* Description: The Announcement class that stores an announcements ID, timestamp, and message with getter and setter functions for controlled access. * Description: The Announcement class defines a simple object for managing announcement details.
* Author: Trenser * Author: Trenser
* Created: 31-Mar-2026 * Created: 31-Mar-2026
*/ */
#include "Announcement.h" #include "Announcement.h"
//Getters and Setters
const std::string& Announcement::getAnnouncementId() const const std::string& Announcement::getAnnouncementId() const
{ {
return m_id; return m_id;
@@ -1,3 +1,9 @@
/*
* File: Announcement.h
* Description: The Announcement class defines a simple object for managing announcement details.
* Author: Trenser
* Created: 31-Mar-2026
*/
#pragma once #pragma once
#include <string> #include <string>
#include "Timestamp.h" #include "Timestamp.h"
@@ -1,11 +1,12 @@
/* /*
* File: Attendance.cpp * File: Attendance.cpp
* Description: The Attendance class manages attendance records by storing login and logout times. * Description: The Attendance class represents an attendance record by storing an ID, login and logout timestamps.
* Author: Trenser * Author: Trenser
* Created: 31-Mar-2026 * Created: 31-Mar-2026
*/ */
#include "Attendance.h" #include "Attendance.h"
//Getters and Setters
const std::string& Attendance::getAttendanceId() const const std::string& Attendance::getAttendanceId() const
{ {
return m_id; return m_id;
@@ -1,11 +1,12 @@
/* /*
* File: Booking.cpp * File: Booking.cpp
* Description: The Booking class stores booking details and calculates the duration between start and end times. * Description: The Booking class represents a timebased booking with employee and team details and supports duration calculation.
* Author: Trenser * Author: Trenser
* Created: 31-Mar-2026 * Created: 31-Mar-2026
*/ */
#include "Booking.h" #include "Booking.h"
//Getters and Setters
const std::string& Booking::getBookingId() const const std::string& Booking::getBookingId() const
{ {
return m_id; return m_id;
@@ -1,11 +1,12 @@
/* /*
* File: Candidate.cpp * File: Candidate.cpp
* Description: The Candidate class manages candidate details and status using getter and setter methods. * Description: The Candidate class stores and manages a candidates information.
* Author: Trenser * Author: Trenser
* Created: 31-Mar-2026 * Created: 31-Mar-2026
*/ */
#include "Candidate.h" #include "Candidate.h"
//Getters and Setters
const std::string& Candidate::getCandidateId() const const std::string& Candidate::getCandidateId() const
{ {
return m_id; return m_id;
@@ -1,11 +1,12 @@
/* /*
* File: Employee.cpp * File: Employee.cpp
* Description: The Employee class stores and manages employee details along with related work records. * Description: The Employee class manages employee information and associated work records such as payroll, attendance, leaves, and payslips.
* Author: Trenser * Author: Trenser
* Created: 31-Mar-2026 * Created: 31-Mar-2026
*/ */
#include "Employee.h" #include "Employee.h"
//Getters and Setters
const std::string& Employee::getEmployeeId() const const std::string& Employee::getEmployeeId() const
{ {
return m_id; return m_id;
@@ -1,5 +1,12 @@
/*
* File: GeneralEmployee.h
* Description: The GeneralEmployee class represents a general employee with a specific designation.
* Author: Trenser
* Created: 31-Mar-2026
*/
#include "GeneralEmployee.h" #include "GeneralEmployee.h"
//Getters and Setters
Enums::EmployeeDesignation GeneralEmployee::getDesignation() const Enums::EmployeeDesignation GeneralEmployee::getDesignation() const
{ {
return m_designation; return m_designation;