19acbed1fd
- added empty check in inventory alerts - corrected parts cost calculation - removed unused getUser method - updated default admin password - fixed missing includes in menus - cleaned up MenuHelper comments
44 lines
1.5 KiB
C++
44 lines
1.5 KiB
C++
/*
|
|
File: Config.h
|
|
Description: Header file declaring configuration constants for the Vehicle Service System.
|
|
Includes default admin account details such as username, name, password,
|
|
email, and phone number.
|
|
Author: Trenser
|
|
Date: 21-May-2026
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace config
|
|
{
|
|
namespace admin
|
|
{
|
|
constexpr const char* DEFAULT_ADMIN_USERNAME = "admin";
|
|
constexpr const char* DEFAULT_ADMIN_NAME = "admin";
|
|
constexpr const char* DEFAULT_ADMIN_PASSWORD = "admin";
|
|
constexpr const char* DEFAULT_ADMIN_EMAIL = "admin@vss";
|
|
constexpr const char* DEFAULT_ADMIN_PHONE = "0000000000";
|
|
}
|
|
|
|
namespace threshold
|
|
{
|
|
constexpr int INVENTORY_LOW_STOCK_THRESHOLD = 5;
|
|
constexpr int PAYMENT_REMINDER_THRESHOLD_HOURS = 168;
|
|
}
|
|
|
|
namespace file
|
|
{
|
|
constexpr const char* INVENTORYITEM_FILE = "files/InventoryItem.csv";
|
|
constexpr const char* USER_FILE = "files/User.csv";
|
|
constexpr const char* NOTIFICATION_FILE = "files/Notification.csv";
|
|
constexpr const char* SERVICE_FILE = "files/Service.csv";
|
|
constexpr const char* COMBOPACKAGE_FILE = "files/ComboPackage.csv";
|
|
constexpr const char* SERVICEBOOKING_FILE = "files/ServiceBooking.csv";
|
|
constexpr const char* JOBCARD_FILE = "files/JobCard.csv";
|
|
constexpr const char* INVOICE_FILE = "files/Invoice.csv";
|
|
constexpr const char* SERVICEMANAGEMENTOBSERVERS = "files/ServiceManagementObservers.csv";
|
|
constexpr const char* PAYMENTMANAGEMENTOBSERVERS = "files/PaymentManagementObservers.csv";
|
|
constexpr const char* INVENTORYMANAGEMENTOBSERVERS = "files/InventoryManagementObservers.csv";
|
|
}
|
|
}
|