hictooth 5f7921ea6f implement dragons
pets, which are dragons in SoD
2023-06-21 21:01:54 +01:00

23 lines
538 B
C#

using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace sodoff.Model;
[PrimaryKey(nameof(ImageType), nameof(ImageSlot), nameof(VikingId))]
public class Image {
[Required]
public string ImageType { get; set; } = null!;
[Required]
public int ImageSlot { get; set; }
[Required]
public string VikingId { get; set; } = null!;
public string? ImageData { get; set; }
public string? TemplateName { get; set; }
public virtual Viking Viking { get; set; } = null!;
}