This repository has been archived on 2025-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
Files
KTUSA-PS/KTUSAPS.Data/Model/Issue.cs
Nadegamra b447434a47 Database
2021-09-09 20:32:56 +03:00

29 lines
838 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; }
[MaxLength(320)]
public string Email { 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; }
}
}