Mostly backend models stuff

Changed some models, did some work on database, created a class diagram.
This commit is contained in:
Nadegamra
2021-09-08 20:20:32 +03:00
parent 3e82ea9392
commit a3b4bb2e30
11 changed files with 105 additions and 14 deletions

View File

@@ -1,10 +1,12 @@
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; }