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

33 lines
798 B
C#
Raw Normal View History

2016-08-25 17:23:47 +00: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 01:12:08 +00:00
public ITextChannel Channel { get; set; }
2016-08-25 17:23:47 +00:00
2017-01-02 09:20:52 +00:00
public List<ClashCaller> Bases { get; set; } = new List<ClashCaller>();
2016-08-25 17:23:47 +00:00
}
2017-05-24 04:43:00 +00:00
public enum DestroyStars
{
One, Two, Three
}
public enum StateOfWar
{
Started, Ended, Created
}
2016-08-25 17:23:47 +00:00
}