mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-12 00:38:48 -07:00
23 lines
577 B
C#
23 lines
577 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace sodoff.Model;
|
|
|
|
public class Dragon {
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int Id { get; set; }
|
|
|
|
[Required]
|
|
public Guid EntityId { get; set; }
|
|
[Required]
|
|
public int VikingId { get; set; }
|
|
|
|
public string? RaisedPetData { get; set; }
|
|
|
|
public int? PetXP { get; set; }
|
|
|
|
public virtual Viking Viking { get; set; } = null!;
|
|
public virtual ICollection<PairData> PairData { get; set; } = null!;
|
|
}
|