24 lines
893 B
C#
24 lines
893 B
C#
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 Logo { 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 Employee {
|
|
public int? ID { get; set; } // PK
|
|
public int AccountID { get; set; } // FK
|
|
public Company Company { get; set; } = new Company(); // FK
|
|
}
|
|
|
|
} |