api-server-setup #1

Merged
derek merged 37 commits from api-server-setup into main 2025-07-15 21:17:25 -07:00
2 changed files with 20 additions and 11 deletions
Showing only changes of commit 34ce91d886 - Show all commits
+2 -11
View File
@@ -15,19 +15,10 @@ namespace BoredCareers.Entities {
public string Description { get; set; } = "";
}
public class JobListing {
public class CompanyUser {
public int ID { get; set; } // PK
public int AccountID { get; set; } // FK
public int CompanyID { get; set; } // FK
public string Title { get; set; } = "";
public string PostalCode { get; set; } = "";
public string Country { get; set; } = ""; // 2 Letter Country Code
public string StateOrRegion { get; set; } = "";
public string City { get; set; } = "";
public int SalaryMin { get; set; } = 0;
public int SalaryMax { get; set; } = 0;
public string JobType { get; set; } = "";
public bool Remote { get; set; } = false;
public string Description { get; set; } = "";
}
}
+18
View File
@@ -0,0 +1,18 @@
namespace BoredCareers.Entities {
public class JobListing {
public int ID { get; set; } // PK
public int CompanyID { get; set; } // FK
public string Title { get; set; } = "";
public string PostalCode { get; set; } = "";
public string Country { get; set; } = ""; // 2 Letter Country Code
public string StateOrRegion { get; set; } = "";
public string City { get; set; } = "";
public int SalaryMin { get; set; } = 0;
public int SalaryMax { get; set; } = 0;
public string JobType { get; set; } = "";
public bool Remote { get; set; } = false;
public string Description { get; set; } = "";
}
}