-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean: BaseEntity and add payload for seekers
- Loading branch information
Showing
4 changed files
with
80 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
using System.ComponentModel.DataAnnotations; | ||
using System.ComponentModel.DataAnnotations.Schema; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace JobLeet.WebApi.JobLeet.Core.Entities; | ||
|
||
public class BaseEntity | ||
{ | ||
[JsonIgnore] | ||
public int Id { get; set; } | ||
|
||
[Required] | ||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)] | ||
[JsonIgnore] | ||
public DateTime CreatedOn { get; set; } = DateTime.UtcNow; | ||
} |
59 changes: 0 additions & 59 deletions
59
...er/JobLeet.WebApi/JobLeet.Infrastructure/Repositories/Utilities/GenerateHashedPassword.cs
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
Server/JobLeet.WebApi/JobLeet.Infrastructure/Repositories/Utilities/PasswordValidation.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"phone": { | ||
"countryCode": 1, | ||
"phoneNumber": "1234567890" | ||
}, | ||
"address": { | ||
"street": "123 Main Street", | ||
"city": "Sample City", | ||
"state": "Sample State", | ||
"postalCode": "12345", | ||
"country": "Sample Country" | ||
}, | ||
"skills": { | ||
"title": [ | ||
"Programming", | ||
"Problem Solving" | ||
], | ||
"description": [ | ||
"Proficient in C#, .NET, and SQL.", | ||
"Experienced in debugging and optimization." | ||
] | ||
}, | ||
"education": { | ||
"degree": "Bachelor of Science", | ||
"major": "Computer Science", | ||
"institution": "Sample University", | ||
"graduationDate": "2024-05-15", | ||
"cgpa": 3.8 | ||
}, | ||
"experience": { | ||
"experienceLevel": "EntryLevel", | ||
"company": { | ||
"companyName": "Sample Tech Inc.", | ||
"profile": { | ||
"profileInfo": "Leading provider of software solutions.", | ||
"companyAddress": { | ||
"street": "456 Innovation Avenue", | ||
"city": "Tech City", | ||
"state": "Tech State", | ||
"postalCode": "67890", | ||
"country": "Tech Country" | ||
}, | ||
"contactPhone": { | ||
"countryCode": 1, | ||
"phoneNumber": "+9876543210" | ||
}, | ||
"contactEmail": { | ||
"emailType": "Work", | ||
"emailAddress": "[email protected]" | ||
}, | ||
"website": "https://www.sampletech.com", | ||
"industryTypes": { | ||
"industryType": "Technology" | ||
} | ||
} | ||
} | ||
}, | ||
"dateOfBirth": "1995-06-20T00:00:00Z", | ||
"qualifications": { | ||
"qualificationType": "Certification", | ||
"qualificationInformation": [ | ||
"Certified Kubernetes Administrator", | ||
"AWS Certified Solutions Architect" | ||
] | ||
}, | ||
"profileSummary": "A passionate software engineer with a focus on backend development and system design.", | ||
"linkedInProfile": "https://www.linkedin.com/in/sampleprofile", | ||
"portfolio": "https://portfolio.sample.com", | ||
"interests": [ | ||
"Reading technical blogs", | ||
"Contributing to open-source projects" | ||
], | ||
"achievements": [ | ||
"Employee of the Month (2023)", | ||
"Developed a custom load balancer in C#" | ||
] | ||
} |