33 lines
798 B
C#
Raw Normal View History

2016-08-25 19:23:47 +02:00
using Discord;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace NadekoBot.Services.Database.Models
{
public class ClashWar : DbEntity
{
public string EnemyClan { get; set; }
public int Size { get; set; }
public StateOfWar WarState { get; set; } = StateOfWar.Created;
public DateTime StartedAt { get; set; }
public ulong GuildId { get; set; }
public ulong ChannelId { get; set; }
[NotMapped]
2016-09-01 03:12:08 +02:00
public ITextChannel Channel { get; set; }
2016-08-25 19:23:47 +02:00
2017-01-02 10:20:52 +01:00
public List<ClashCaller> Bases { get; set; } = new List<ClashCaller>();
2016-08-25 19:23:47 +02:00
}
2017-05-24 06:43:00 +02:00
public enum DestroyStars
{
One, Two, Three
}
public enum StateOfWar
{
Started, Ended, Created
}
2016-08-25 19:23:47 +02:00
}