mirror of
https://github.com/guilhermewerner/gerencia-projetos
synced 2025-06-16 15:05:39 +00:00
37 lines
965 B
C#
37 lines
965 B
C#
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 Bug
|
|
{
|
|
[Key]
|
|
public int Id { 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; }
|
|
|
|
[MaxLength(100)]
|
|
[Required(ErrorMessage = "Este campo é obrigatório.")]
|
|
public string Descricao { get; set; }
|
|
|
|
[MaxLength(25)]
|
|
public string Prioridade { get; set; }
|
|
|
|
[DataType(DataType.Date)]
|
|
public DateTime DataCadastro { get; set; }
|
|
|
|
public bool FoiResolvido { get; set; }
|
|
}
|
|
}
|