mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-11-27 10:06:53 -08:00
17 lines
455 B
C#
17 lines
455 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace sodoff.Model;
|
|
public class GameDataPair {
|
|
[Key]
|
|
[JsonIgnore]
|
|
public int Id { get; set; }
|
|
[JsonIgnore]
|
|
public int GameDataId { get; set; }
|
|
public string Name { get; set; } = null!;
|
|
public int Value { get; set; }
|
|
public int DailyValue { get; set; }
|
|
[JsonIgnore]
|
|
public virtual GameData GameData { get; set; } = null!;
|
|
}
|