mirror of
https://github.com/guilhermewerner/gerencia-projetos
synced 2025-06-16 15:05:39 +00:00
Initial commit
This commit is contained in:
20
GerenciaProjetos/Models/DesenvolvedorProjeto.cs
Normal file
20
GerenciaProjetos/Models/DesenvolvedorProjeto.cs
Normal file
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace GerenciaProjetos.Models
|
||||
{
|
||||
public class DesenvolvedorProjeto
|
||||
{
|
||||
[Key, Column(Order = 1)]
|
||||
public int DesenvolvedorId { get; set; }
|
||||
public Desenvolvedor Desenvolvedor { get; set; }
|
||||
|
||||
[Key, Column(Order = 2)]
|
||||
public int ProjetoId { get; set; }
|
||||
public Projeto Projeto { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user