|
@@ -13,17 +13,17 @@ namespace MafiaTelegramBot.DataBase.Entity
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
|
[Column("id"), MaxLength(127)] public long Id { get; init; }
|
|
|
|
|
|
- [Column("Bodyguard")] public bool Bodyguard { get; init; } = false;
|
|
|
- [Column("Dame")] public bool Dame { get; init; } = false;
|
|
|
- [Column("Detective")] public bool Detective { get; init; } = false;
|
|
|
- [Column("Elder")] public bool Elder { get; init; } = false;
|
|
|
- [Column("Fool")] public bool Fool { get; init; } = false;
|
|
|
- [Column("Hooker")] public bool Hooker { get; init; } = false;
|
|
|
- [Column("Journalist")] public bool Journalist { get; init; } = false;
|
|
|
- [Column("Lawyer")] public bool Lawyer { get; init; } = false;
|
|
|
- [Column("Necromancer")] public bool Necromancer { get; init; } = false;
|
|
|
- [Column("Parasite")] public bool Parasite { get; init; } = false;
|
|
|
- [Column("Werewolf")] public bool Werewolf { get; init; } = false;
|
|
|
+ [Column("bodyguard") , MaxLength(127)] public bool Bodyguard { get; init; }
|
|
|
+ [Column("dame") , MaxLength(127)] public bool Dame { get; init; }
|
|
|
+ [Column("detective") , MaxLength(127)] public bool Detective { get; init; }
|
|
|
+ [Column("elder") , MaxLength(127)] public bool Elder { get; init; }
|
|
|
+ [Column("fool") , MaxLength(127)] public bool Fool { get; init; }
|
|
|
+ [Column("hooker") , MaxLength(127)] public bool Hooker { get; init; }
|
|
|
+ [Column("journalist") , MaxLength(127)] public bool Journalist { get; init; }
|
|
|
+ [Column("lawyer") , MaxLength(127)] public bool Lawyer { get; init; }
|
|
|
+ [Column("necromancer") , MaxLength(127)] public bool Necromancer { get; init; }
|
|
|
+ [Column("parasite") , MaxLength(127)] public bool Parasite { get; init; }
|
|
|
+ [Column("werewolf") , MaxLength(127)] public bool Werewolf { get; init; }
|
|
|
|
|
|
public List<Roles> ToList()
|
|
|
{
|