Split out JobListings

This commit is contained in:
2025-07-14 20:55:54 -07:00
parent e7bb932697
commit 34ce91d886
2 changed files with 20 additions and 11 deletions
+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; } = "";
}
}