Split out JobListings
This commit is contained in:
@@ -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; } = "";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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; } = "";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user