forked from SoDOff-Project/sodoff

* add support for old missions API (aka "steps missions") * config option to disable loading non SoD Data (used only for missions and achievements for now) * make AuthenticateUser endpoint compatible with games that use e-mail as login * add api keys for lands * add GetGameCurrency endpoint * allow create empty stores and add store "8" (empty) --------- Co-authored-by: Robert Paciorek <robert@opcode.eu.org>
19 lines
543 B
C#
19 lines
543 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace sodoff.Model
|
|
{
|
|
[PrimaryKey(nameof(VikingId), nameof(WorldId), nameof(MissionId))]
|
|
public class UserMissionData
|
|
{
|
|
public int VikingId { get; set; }
|
|
public int WorldId { get; set; }
|
|
public int MissionId { get; set; }
|
|
public int StepId { get; set; }
|
|
public int TaskId { get; set; }
|
|
public bool IsCompleted { get; set; } = false;
|
|
|
|
public virtual Viking? Viking { get; set; }
|
|
}
|
|
}
|