21 lines
464 B
C#
21 lines
464 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace KTUSAPS.Data.Model
|
|
{
|
|
public class Vote
|
|
{
|
|
[MaxLength(64)]
|
|
public string UserId { get; set; }
|
|
public int ProblemId { get; set; }
|
|
[JsonIgnore]
|
|
public virtual PublishedProblem Problem { get; set; }
|
|
|
|
}
|
|
}
|