how can I create relationships with EF code
Client - > Customer registration PersonalInformation - > Personal information of the client Payment History - > Condo payment reports
public class Client{
[Key]
public int Id { get; set; }
public string Email { get; set; }
public string Password { get; set; }
}
public class PersonalInformation{
[Key]
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Phone { get; set; }
public string CellPhone { get; set; }
}
public class PaymentHistory{
[Key]
public int Id { get; set; }
public string PayNumber { get; set; }
public double CurrentBalance { get; set; }
public double CreditBalance { get; set; }
}