Created
July 25, 2017 16:13
-
-
Save filipececcon/c2c8653eb268eff72bafeae29ce235ce to your computer and use it in GitHub Desktop.
Player.cs
This file contains hidden or 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 Domain.Entities | |
{ | |
public class Player : BaseEntity | |
{ | |
public string Name { get; set; } | |
public int Age { get; set; } | |
// declarar as colunas de chave estrangeira da tabela | |
public int TeamId { get; set; } | |
public Team Team { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment