Package model.user

Class Staff


  • public class Staff
    extends User
    This class Staff represents a staff member within the system. Staff members are responsible for managing camps.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.List<java.lang.String> campsCreated
      list of camps created by staff
    • Constructor Summary

      Constructors 
      Constructor Description
      Staff​(java.lang.String name, java.lang.String password, java.lang.String userID, java.lang.String email, Schools faculty, boolean firstLogin)
      Constructor of class Staff
    • Field Detail

      • campsCreated

        java.util.List<java.lang.String> campsCreated
        list of camps created by staff
    • Constructor Detail

      • Staff

        public Staff​(java.lang.String name,
                     java.lang.String password,
                     java.lang.String userID,
                     java.lang.String email,
                     Schools faculty,
                     boolean firstLogin)
        Constructor of class Staff
        Parameters:
        name - Name of the staff member.
        password - Password of the staff member.
        userID - User ID of the staff member.
        email - Email of the staff member.
        faculty - Faculty to which the staff member belongs.
        firstLogin - Flag indicating whether it's the staff member's first login.