Class HDBStaff

java.lang.Object
com.ntu.fdae.group1.bto.models.user.User
com.ntu.fdae.group1.bto.models.user.HDBStaff
Direct Known Subclasses:
HDBManager, HDBOfficer

public abstract class HDBStaff extends User
Abstract base class representing an HDB staff member in the BTO system.

This class serves as a common parent for different types of HDB staff roles, providing shared functionality and attributes for all HDB employees. It extends the base User class with functionality specific to staff members.

HDB staff members typically have access to administrative functions in the system that are not available to regular applicants, with specific permissions determined by concrete subclasses.

See Also:
  • Constructor Details

    • HDBStaff

      public HDBStaff(String nric, String passwordHash, String name, int age, MaritalStatus maritalStatus)
      Constructs a new HDB staff member with the specified details.
      Parameters:
      nric - The NRIC (National Registration Identity Card) number of the staff member
      passwordHash - The hashed password for authentication
      name - The full name of the staff member
      age - The age of the staff member
      maritalStatus - The marital status of the staff member