Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class RelatorioArmazem
- {
- [Key]
- public int relatorioId { get; set; }
- public int ArmazemId { get; set; }
- public decimal valor { get; set; }
- public string Nome { get; set; }
- public int totalPedido { get; set; }
- [ForeignKey("ArmazemId")]
- public virtual Armazem Armazem { get; set; }
- }
- public class Armazem
- {
- public int Id { get; set; }
- [Required]
- [StringLength(50)]
- public string Nome { get; set; }
- public int Prazo { get; set; }
- public virtual ICollection<Deposito> Deposito { get; set; }
- public virtual ICollection<RelatorioArmazem> RelatorioDetalhes { get; set; }
- }
Add Comment
Please, Sign In to add comment