Align the Entities to the database
Docker Build and Release Upload / build (push) Failing after 1m1s

This commit is contained in:
2025-07-13 20:09:16 -07:00
parent d134ad1dcd
commit ddf78e5606
5 changed files with 153 additions and 62 deletions
+33
View File
@@ -0,0 +1,33 @@
namespace BoredCareers.Entities {
public class Company {
public int ID { get; set; } // PK
public string Name { get; set; } = "";
public string Email { get; set; } = "";
public bool EmailVerified { get; set; } = false;
public string WebsiteURL { get; set; } = "";
public string LogoURL { get; set; } = "";
public string Phone { 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 string Description { get; set; } = "";
}
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; } = "";
}
}