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/Solution.cs
Karolis Kundrotas aff6f8df82 Huge work
2021-10-25 22:00:01 +03:00

25 lines
611 B
C#

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace KTUSAPS.Data.Model
{
public class Solution
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
[MaxLength]
public string SolutionLt { get; set; }
[MaxLength]
public string SolutionEn { get; set; }
public virtual PublishedProblem Problem { get; set; }
public DateTime Created { get; set; }
public Solution()
{
Created = DateTime.Now;
}
}
}