-
-
Save josephhhhh/b3ec01f16bf0407a112710a01c153043 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace CascadeDelete.Models | |
{ | |
public class ResidentCityOwn | |
{ | |
public int Id { get; set; } | |
[Required] | |
[StringLength(50)] | |
public string Title { get; set; } | |
[Required] | |
public int ResidentId { get; set; } | |
[Required] | |
public int CityId { get; set; } | |
// navigation props | |
public virtual Resident Resident { get; set; } | |
public virtual City City { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment