Class RecruiterDto

java.lang.Object
me.josephsf.jobportaljosephsfeir.dto.RecruiterDto

public class RecruiterDto extends Object
Data Transfer Object for recruiter profile information.

This class encapsulates the information related to a recruiter's profile in the Job Portal system. It contains details about the recruiter's company, professional information, and contact details. The class includes validation constraints to ensure data integrity when creating or updating recruiter profiles.

Fields include:

  • Basic identifiers (id, userId)
  • Company information (name, size, industry, description, website)
  • Recruiter's professional details (department, position)
  • Contact information (location, phone number, LinkedIn)
  • Status indicators (verification status, timestamps)
Since:
2025-05-14
  • Constructor Details

    • RecruiterDto

      public RecruiterDto()
      Default constructor for deserialization.
  • Method Details

    • getId

      public String getId()
      Gets the MongoDB document ID.
      Returns:
      The document ID
    • setId

      public void setId(String id)
      Sets the MongoDB document ID.
      Parameters:
      id - The document 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 company name.
      Returns:
      The company name
    • setCompanyName

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

      public String getCompanySize()
      Gets the company size category.
      Returns:
      The company size category
    • setCompanySize

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

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

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

      public String getIndustry()
      Gets the industry.
      Returns:
      The industry
    • setIndustry

      public void setIndustry(String industry)
      Sets the industry.
      Parameters:
      industry - The industry to set
    • getDepartment

      public String getDepartment()
      Gets the department.
      Returns:
      The department
    • setDepartment

      public void setDepartment(String department)
      Sets the department.
      Parameters:
      department - The department to set
    • getPosition

      public String getPosition()
      Gets the position.
      Returns:
      The position
    • setPosition

      public void setPosition(String position)
      Sets the position.
      Parameters:
      position - The position to set
    • getPhoneNumber

      public String getPhoneNumber()
      Gets the phone number.
      Returns:
      The phone number
    • setPhoneNumber

      public void setPhoneNumber(String phoneNumber)
      Sets the phone number.
      Parameters:
      phoneNumber - The phone number to set
    • getLinkedInUrl

      public String getLinkedInUrl()
      Gets the LinkedIn URL.
      Returns:
      The LinkedIn URL
    • setLinkedInUrl

      public void setLinkedInUrl(String linkedInUrl)
      Sets the LinkedIn URL.
      Parameters:
      linkedInUrl - The LinkedIn URL to set
    • getCompanyWebsite

      public String getCompanyWebsite()
      Gets the company website URL.
      Returns:
      The company website URL
    • setCompanyWebsite

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

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

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

      public Boolean getIsVerified()
      Gets the verification status.
      Returns:
      The verification status
    • setIsVerified

      public void setIsVerified(Boolean isVerified)
      Sets the verification status.
      Parameters:
      isVerified - The verification status to set
    • getCreatedAt

      public LocalDateTime getCreatedAt()
      Gets the creation timestamp.
      Returns:
      The creation timestamp
    • setCreatedAt

      public void setCreatedAt(LocalDateTime createdAt)
      Sets the creation timestamp.
      Parameters:
      createdAt - The creation timestamp to set
    • getUpdatedAt

      public LocalDateTime getUpdatedAt()
      Gets the last update timestamp.
      Returns:
      The last update timestamp
    • setUpdatedAt

      public void setUpdatedAt(LocalDateTime updatedAt)
      Sets the last update timestamp.
      Parameters:
      updatedAt - The last update timestamp to set