Add fields to Employee SQL
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace BoredCareers.Entities {
|
||||
public class Employee {
|
||||
public int? ID { get; set; } // PK
|
||||
public int AccountID { get; set; }
|
||||
public string AccountName { get; set; } = "";
|
||||
public string AccountEmail { get; set; } = "";
|
||||
public Company Company { get; set; } = new Company(); // FK
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user