Add id constructor to Raffle

This commit is contained in:
Daniel_I_Am 2020-06-04 01:54:44 +02:00
parent 38876d441e
commit c9335cad29
No known key found for this signature in database
GPG Key ID: 80C428FCC9743E84

View File

@ -5,6 +5,12 @@ namespace ChaosBot.Database.Entity
public int id { get; }
public string userId { get; private set; }
public Raffle(int id, string userId)
{
this.id = id;
this.userId = userId;
}
public Raffle(string userId)
{
this.userId = userId;