Add id constructor to Raffle
This commit is contained in:
parent
38876d441e
commit
c9335cad29
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user