WIP
This commit is contained in:
32
KTUSAPS.Data/Model/PublishedProblem.cs
Normal file
32
KTUSAPS.Data/Model/PublishedProblem.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace KTUSAPS.Data.Model
|
||||
{
|
||||
public class PublishedProblem
|
||||
{
|
||||
public int Id { get; set; }
|
||||
[Required]
|
||||
[MaxLength]
|
||||
public string ProblemLt { get; set; }
|
||||
[Required]
|
||||
[MaxLength]
|
||||
public string ProblemEn { get; set; }
|
||||
[MaxLength]
|
||||
public string ResponseLt { get; set; }
|
||||
[MaxLength]
|
||||
public string ResponseEn { get; set; }
|
||||
|
||||
public DateTime Created { get; set; }
|
||||
|
||||
public int? IssueId { get; set; }
|
||||
public Issue Issue { get; set; }
|
||||
|
||||
public int? SolutionId { get; set; }
|
||||
public Solution Solution { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user