mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-11-27 10:06:53 -08:00
27 lines
520 B
C#
27 lines
520 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace sodoff.Model;
|
|
|
|
public class MissionState {
|
|
[Key]
|
|
[JsonIgnore]
|
|
public int Id { get; set; }
|
|
|
|
public int MissionId { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public int VikingId { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public virtual Viking? Viking { get; set; }
|
|
|
|
public MissionStatus MissionStatus { get; set; }
|
|
|
|
public bool? UserAccepted { get; set; }
|
|
}
|
|
|
|
public enum MissionStatus {
|
|
Upcoming,Active,Completed
|
|
}
|