Created
December 17, 2013 21:21
-
-
Save cleytonferrari/8012810 to your computer and use it in GitHub Desktop.
Problema de Modelagem
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
Public class Vereador { | |
public int Id {get;set;} | |
public string Nome {get;set;} | |
public string Partido {get;set;} | |
} | |
Public class Funcionario { | |
public int Id {get;set;} | |
public string Nome {get;set;} | |
public string Cargo {get;set;} | |
} | |
Public class Diaria { | |
public ???? Pessoa {get;set;} | |
public int Id {get;set;} | |
public string Motivo {get;set;} | |
} | |
1 - Como eu faço uma listagem das diarias, mostrando, *todos os dados* da diaria e de quem pegou a diaria? | |
Exemplo: | |
001 - Cleyton - PV - Viagem pra Lua | |
002 - Emerson - Analista Junior - Viagem pra Marte | |
003 - Anderson - PT - Viagem pra ver a Dilma | |
004 - Pongra - Analista Senior - Viagem pra Saturno |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.