29 lines
857 B
C#
29 lines
857 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace KTUSAPS.Data.Model
|
|
{
|
|
public class Issue
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int Id { get; set; }
|
|
[MaxLength(64)]
|
|
public string UserID { get; set; }
|
|
public string Email { get; set; }
|
|
public bool Anonimous { get; set; }
|
|
public bool Publishable { get; set; }
|
|
public bool Solved { get; set; } = false;
|
|
public DateTime Created { get; set; }
|
|
[MaxLength]
|
|
public string Description { get; set; }
|
|
|
|
public PublishedProblem Problem { get; set; }
|
|
public PublishedFeedback Feedback { get; set; }
|
|
}
|
|
}
|