Skip to content

Commit

Permalink
clean: BaseEntity and add payload for seekers
Browse files Browse the repository at this point in the history
  • Loading branch information
nixhantb committed Jan 22, 2025
1 parent 02753a9 commit 46a35bb
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 81 deletions.
3 changes: 3 additions & 0 deletions Server/JobLeet.WebApi/JobLeet.Core/Entities/BaseEntity.cs
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;
}

This file was deleted.

This file was deleted.

77 changes: 77 additions & 0 deletions docs/assets/payloads/seekers.json
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#"
]
}

0 comments on commit 46a35bb

Please sign in to comment.