mirror of
https://github.com/guilhermewerner/gerencia-projetos
synced 2025-06-16 15:05:39 +00:00
Acho q acabou
This commit is contained in:
@ -12,9 +12,12 @@ namespace GerenciaProjetos.Models
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
|
||||
public int DesenvolvedorId { get; set; }
|
||||
public Desenvolvedor Desenvolvedor { get; set; }
|
||||
|
||||
public int CriadorId { get; set; }
|
||||
public Desenvolvedor Criador { get; set; }
|
||||
|
||||
public int SolucionadorId { get; set; }
|
||||
public Desenvolvedor Solucionador { get; set; }
|
||||
|
||||
public int RequisitoId { get; set; }
|
||||
public Requisito Requisito { get; set; }
|
||||
|
||||
|
@ -28,6 +28,11 @@ namespace GerenciaProjetos.Models
|
||||
[DataType(DataType.Password)]
|
||||
public string Senha { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
[Required(ErrorMessage = "Este campo é obrigatório.")]
|
||||
[Compare("Senha", ErrorMessage = "As senhas não combinam.")]
|
||||
public string ConfirmarSenha { get; set; }
|
||||
|
||||
public bool EAdmin { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -31,5 +31,7 @@ namespace GerenciaProjetos.Models
|
||||
public int ProjetoId { get; set; }
|
||||
|
||||
public Projeto Projeto { get; set; }
|
||||
|
||||
public IEnumerable<Bug> Bugs { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user