Class Recruiter

java.lang.Object
me.josephsf.jobportaljosephsfeir.model.Recruiter

public class Recruiter extends Object
Represents a recruiter profile in the Job Portal application.

This class is mapped to the "recruiters" collection in MongoDB using the Spring Data MongoDB Document annotation. It extends the basic user account with recruiter-specific information, including company details, professional information, and verification status.

Each recruiter is associated with a user account and can post jobs, review applications, and manage their company profile. Recruiters may need to be verified before they can fully use the platform.

Since:
2025-05-15
  • Constructor Details

    • Recruiter

      public Recruiter()
      Constructs a new Recruiter instance with default values. Sets creation and update timestamps to the current time, and sets the verification status to false by default.
  • Method Details

    • getId

      public String getId()
      Gets the unique identifier of the recruiter profile.
      Returns:
      the recruiter profile ID
    • setId

      public void setId(String id)
      Sets the unique identifier of the recruiter profile.
      Parameters:
      id - the recruiter profile ID to set
    • getUserId

      public String getUserId()
      Gets the user ID associated with this recruiter profile.
      Returns:
      the user ID
    • setUserId

      public void setUserId(String userId)
      Sets the user ID associated with this recruiter profile.
      Parameters:
      userId - the user ID to set
    • getCompanyName

      public String getCompanyName()
      Gets the name of the company the recruiter represents.
      Returns:
      the company name
    • setCompanyName

      public void setCompanyName(String companyName)
      Sets the name of the company the recruiter represents.
      Parameters:
      companyName - the company name to set
    • getCompanySize

      public String getCompanySize()
      Gets the size of the company the recruiter represents.
      Returns:
      the company size category
    • setCompanySize

      public void setCompanySize(String companySize)
      Sets the size of the company the recruiter represents.
      Parameters:
      companySize - the company size category to set
    • getLocation

      public String getLocation()
      Gets the location of the company.
      Returns:
      the company location
    • setLocation

      public void setLocation(String location)
      Sets the location of the company.
      Parameters:
      location - the company location to set
    • getIndustry

      public String getIndustry()
      Gets the industry sector the company operates in.
      Returns:
      the industry sector
    • setIndustry

      public void setIndustry(String industry)
      Sets the industry sector the company operates in.
      Parameters:
      industry - the industry sector to set
    • getDepartment

      public String getDepartment()
      Gets the department the recruiter works for.
      Returns:
      the department name
    • setDepartment

      public void setDepartment(String department)
      Sets the department the recruiter works for.
      Parameters:
      department - the department name to set
    • getPosition

      public String getPosition()
      Gets the recruiter's position within the company.
      Returns:
      the position title
    • setPosition

      public void setPosition(String position)
      Sets the recruiter's position within the company.
      Parameters:
      position - the position title to set
    • getPhoneNumber

      public String getPhoneNumber()
      Gets the recruiter's contact phone number.
      Returns:
      the phone number
    • setPhoneNumber

      public void setPhoneNumber(String phoneNumber)
      Sets the recruiter's contact phone number.
      Parameters:
      phoneNumber - the phone number to set
    • getLinkedInUrl

      public String getLinkedInUrl()
      Gets the URL to the recruiter's LinkedIn profile.
      Returns:
      the LinkedIn profile URL
    • setLinkedInUrl

      public void setLinkedInUrl(String linkedInUrl)
      Sets the URL to the recruiter's LinkedIn profile.
      Parameters:
      linkedInUrl - the LinkedIn profile URL to set
    • getCompanyWebsite

      public String getCompanyWebsite()
      Gets the URL to the company's website.
      Returns:
      the company website URL
    • setCompanyWebsite

      public void setCompanyWebsite(String companyWebsite)
      Sets the URL to the company's website.
      Parameters:
      companyWebsite - the company website URL to set
    • getCompanyDescription

      public String getCompanyDescription()
      Gets the detailed description of the company.
      Returns:
      the company description
    • setCompanyDescription

      public void setCompanyDescription(String companyDescription)
      Sets the detailed description of the company.
      Parameters:
      companyDescription - the company description to set
    • getIsVerified

      public Boolean getIsVerified()
      Checks if the recruiter profile has been verified.
      Returns:
      true if the profile is verified, false otherwise
    • setIsVerified

      public void setIsVerified(Boolean isVerified)
      Sets whether the recruiter profile has been verified.
      Parameters:
      isVerified - the verification status to set
    • getCreatedAt

      public LocalDateTime getCreatedAt()
      Gets the date and time when the recruiter profile was created.
      Returns:
      the creation timestamp
    • setCreatedAt

      public void setCreatedAt(LocalDateTime createdAt)
      Sets the date and time when the recruiter profile was created.
      Parameters:
      createdAt - the creation timestamp to set
    • getUpdatedAt

      public LocalDateTime getUpdatedAt()
      Gets the date and time when the recruiter profile was last updated.
      Returns:
      the update timestamp
    • setUpdatedAt

      public void setUpdatedAt(LocalDateTime updatedAt)
      Sets the date and time when the recruiter profile was last updated.
      Parameters:
      updatedAt - the update timestamp to set