mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00

Also: * implemented ``GetAvatarByUserID`` from @Moonbase's previous PR. * implemented ``GetPeriodicGameDataByGame`` and ``GetGamePlayDataForDateRange`` --------- Co-authored-by: Alan Moon <alanmoonbase2004@gmail.com>
34 lines
662 B
C#
34 lines
662 B
C#
using sodoff.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Data;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace sodoff.Model
|
|
{
|
|
public class Neighborhood
|
|
{
|
|
public virtual Viking? Viking { get; set; }
|
|
|
|
[Key]
|
|
public int Id { get; set; }
|
|
|
|
[Required]
|
|
public int VikingId { get; set; }
|
|
|
|
[Required]
|
|
public Guid Slot0 { get; set; }
|
|
|
|
[Required]
|
|
public Guid Slot1 { get; set; }
|
|
|
|
[Required]
|
|
public Guid Slot2 { get; set; }
|
|
|
|
[Required]
|
|
public Guid Slot3 { get; set; }
|
|
|
|
[Required]
|
|
public Guid Slot4 { get; set; }
|
|
}
|
|
}
|