Class RecruiterDto
java.lang.Object
me.josephsf.jobportaljosephsfeir.dto.RecruiterDto
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the company description.Gets the company name.Gets the company size category.Gets the company website URL.Gets the creation timestamp.Gets the department.getId()Gets the MongoDB document ID.Gets the industry.Gets the verification status.Gets the LinkedIn URL.Gets the location.Gets the phone number.Gets the position.Gets the last update timestamp.Gets the user ID associated with this recruiter profile.voidsetCompanyDescription(String companyDescription) Sets the company description.voidsetCompanyName(String companyName) Sets the company name.voidsetCompanySize(String companySize) Sets the company size category.voidsetCompanyWebsite(String companyWebsite) Sets the company website URL.voidsetCreatedAt(LocalDateTime createdAt) Sets the creation timestamp.voidsetDepartment(String department) Sets the department.voidSets the MongoDB document ID.voidsetIndustry(String industry) Sets the industry.voidsetIsVerified(Boolean isVerified) Sets the verification status.voidsetLinkedInUrl(String linkedInUrl) Sets the LinkedIn URL.voidsetLocation(String location) Sets the location.voidsetPhoneNumber(String phoneNumber) Sets the phone number.voidsetPosition(String position) Sets the position.voidsetUpdatedAt(LocalDateTime updatedAt) Sets the last update timestamp.voidSets the user ID associated with this recruiter profile.
-
Constructor Details
-
RecruiterDto
public RecruiterDto()Default constructor for deserialization.
-
-
Method Details
-
getId
Gets the MongoDB document ID.- Returns:
- The document ID
-
setId
Sets the MongoDB document ID.- Parameters:
id- The document ID to set
-
getUserId
Gets the user ID associated with this recruiter profile.- Returns:
- The user ID
-
setUserId
Sets the user ID associated with this recruiter profile.- Parameters:
userId- The user ID to set
-
getCompanyName
Gets the company name.- Returns:
- The company name
-
setCompanyName
Sets the company name.- Parameters:
companyName- The company name to set
-
getCompanySize
Gets the company size category.- Returns:
- The company size category
-
setCompanySize
Sets the company size category.- Parameters:
companySize- The company size to set
-
getLocation
Gets the location.- Returns:
- The location
-
setLocation
Sets the location.- Parameters:
location- The location to set
-
getIndustry
Gets the industry.- Returns:
- The industry
-
setIndustry
Sets the industry.- Parameters:
industry- The industry to set
-
getDepartment
Gets the department.- Returns:
- The department
-
setDepartment
Sets the department.- Parameters:
department- The department to set
-
getPosition
Gets the position.- Returns:
- The position
-
setPosition
Sets the position.- Parameters:
position- The position to set
-
getPhoneNumber
Gets the phone number.- Returns:
- The phone number
-
setPhoneNumber
Sets the phone number.- Parameters:
phoneNumber- The phone number to set
-
getLinkedInUrl
Gets the LinkedIn URL.- Returns:
- The LinkedIn URL
-
setLinkedInUrl
Sets the LinkedIn URL.- Parameters:
linkedInUrl- The LinkedIn URL to set
-
getCompanyWebsite
Gets the company website URL.- Returns:
- The company website URL
-
setCompanyWebsite
Sets the company website URL.- Parameters:
companyWebsite- The company website URL to set
-
getCompanyDescription
Gets the company description.- Returns:
- The company description
-
setCompanyDescription
Sets the company description.- Parameters:
companyDescription- The company description to set
-
getIsVerified
Gets the verification status.- Returns:
- The verification status
-
setIsVerified
Sets the verification status.- Parameters:
isVerified- The verification status to set
-
getCreatedAt
Gets the creation timestamp.- Returns:
- The creation timestamp
-
setCreatedAt
Sets the creation timestamp.- Parameters:
createdAt- The creation timestamp to set
-
getUpdatedAt
Gets the last update timestamp.- Returns:
- The last update timestamp
-
setUpdatedAt
Sets the last update timestamp.- Parameters:
updatedAt- The last update timestamp to set
-