mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
19 lines
426 B
C#
19 lines
426 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace sodoff.Model;
|
|
|
|
[PrimaryKey(nameof(TaskId), nameof(VikingId))]
|
|
public class AchievementTaskState {
|
|
[JsonIgnore]
|
|
public int VikingId { get; set; }
|
|
|
|
public int TaskId { get; set; }
|
|
|
|
public int Points { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public virtual Viking? Viking { get; set; }
|
|
}
|