NadekoBot/NadekoBot.Core/Services/Database/Models/ClashCaller.cs

23 lines
550 B
C#
Raw Normal View History

2016-08-25 17:23:47 +00:00
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace NadekoBot.Services.Database.Models
{
public class ClashCaller : DbEntity
{
public int? SequenceNumber { get; set; } = null;
2016-08-25 17:23:47 +00:00
public string CallUser { get; set; }
public DateTime TimeAdded { get; set; }
public bool BaseDestroyed { get; set; }
public int Stars { get; set; } = 3;
public int ClashWarId { get; set; }
[ForeignKey(nameof(ClashWarId))]
public ClashWar ClashWar { get; set; }
}
}