Class Applicant
java.lang.Object
com.ntu.fdae.group1.bto.models.user.User
com.ntu.fdae.group1.bto.models.user.Applicant
Represents an Applicant in the BTO system.
Applicants are users who can apply for BTO housing projects. They represent citizens or residents who are seeking to purchase a BTO flat. This class extends the base User class with functionality specific to housing applicants.
Applicants can:- Browse available BTO projects
- Submit applications for housing units
- Check application status
- Submit enquiries about projects or applications
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionApplicant
(String nric, String passwordHash, String name, int age, MaritalStatus maritalStatus) Constructs a new Applicant with the specified details. -
Method Summary
Methods inherited from class com.ntu.fdae.group1.bto.models.user.User
getAge, getMaritalStatus, getName, getNric, getPasswordHash, updatePasswordHash
-
Constructor Details
-
Applicant
public Applicant(String nric, String passwordHash, String name, int age, MaritalStatus maritalStatus) Constructs a new Applicant with the specified details.- Parameters:
nric
- The NRIC (National Registration Identity Card) number of the applicantpasswordHash
- The hashed password for authenticationname
- The full name of the applicantage
- The age of the applicantmaritalStatus
- The marital status of the applicant, which may affect eligibility for certain flat types
-
-
Method Details