2016-08-25 17:23:47 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
|
|
|
namespace NadekoBot.Services.Database.Models
|
|
|
|
|
{
|
|
|
|
|
public class ClashCaller : DbEntity
|
|
|
|
|
{
|
2016-10-15 12:12:35 +00:00
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|