Add missing header
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
/*
|
||||
* File: Announcement.cpp
|
||||
* Description: The Announcement class that stores an announcement’s 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
|
||||
* Created: 31-Mar-2026
|
||||
*/
|
||||
#include "Announcement.h"
|
||||
|
||||
//Getters and Setters
|
||||
const std::string& Announcement::getAnnouncementId() const
|
||||
{
|
||||
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
|
||||
#include <string>
|
||||
#include "Timestamp.h"
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
/*
|
||||
* 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
|
||||
* Created: 31-Mar-2026
|
||||
*/
|
||||
#include "Attendance.h"
|
||||
|
||||
//Getters and Setters
|
||||
const std::string& Attendance::getAttendanceId() const
|
||||
{
|
||||
return m_id;
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
/*
|
||||
/*
|
||||
* 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 time‑based booking with employee and team details and supports duration calculation.
|
||||
* Author: Trenser
|
||||
* Created: 31-Mar-2026
|
||||
*/
|
||||
#include "Booking.h"
|
||||
|
||||
//Getters and Setters
|
||||
const std::string& Booking::getBookingId() const
|
||||
{
|
||||
return m_id;
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
/*
|
||||
* 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 candidate’s information.
|
||||
* Author: Trenser
|
||||
* Created: 31-Mar-2026
|
||||
*/
|
||||
#include "Candidate.h"
|
||||
|
||||
//Getters and Setters
|
||||
const std::string& Candidate::getCandidateId() const
|
||||
{
|
||||
return m_id;
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
/*
|
||||
* 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
|
||||
* Created: 31-Mar-2026
|
||||
*/
|
||||
#include "Employee.h"
|
||||
|
||||
//Getters and Setters
|
||||
const std::string& Employee::getEmployeeId() const
|
||||
{
|
||||
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"
|
||||
|
||||
//Getters and Setters
|
||||
Enums::EmployeeDesignation GeneralEmployee::getDesignation() const
|
||||
{
|
||||
return m_designation;
|
||||
|
||||
Reference in New Issue
Block a user