chaosbot/ChaosBot/Database/Entity/Raffle.cs

25 lines
587 B
C#

using ChaosBot.Attribute;
namespace ChaosBot.Database.Entity
{
[DBEntity("RaffleTable")]
public class Raffle
{
public int id { get; }
public string userId { get; private set; }
public string guildId { get; private set; }
public Raffle(int id, string userId, string guildId)
{
this.id = id;
this.userId = userId;
this.guildId = guildId;
}
public Raffle(string userId, string guildId)
{
this.userId = userId;
this.guildId = guildId;
}
}
}