|
@@ -2,6 +2,7 @@ using System.Collections.Generic;
|
|
|
using System.ComponentModel;
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
+using System.Threading.Tasks;
|
|
|
using MafiaTelegramBot.Resources;
|
|
|
|
|
|
namespace MafiaTelegramBot.DataBase.Entity
|
|
@@ -12,18 +13,17 @@ namespace MafiaTelegramBot.DataBase.Entity
|
|
|
[Key]
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
|
[Column("id"), MaxLength(127)] public long Id { get; init; }
|
|
|
-
|
|
|
- [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; }
|
|
|
+ [Column("bodyguard") , MaxLength(127)] public bool Bodyguard { get; set; }
|
|
|
+ [Column("dame") , MaxLength(127)] public bool Dame { get; set; }
|
|
|
+ [Column("detective") , MaxLength(127)] public bool Detective { get; set; }
|
|
|
+ [Column("elder") , MaxLength(127)] public bool Elder { get; set; }
|
|
|
+ [Column("fool") , MaxLength(127)] public bool Fool { get; set; }
|
|
|
+ [Column("hooker") , MaxLength(127)] public bool Hooker { get; set; }
|
|
|
+ [Column("journalist") , MaxLength(127)] public bool Journalist { get; set; }
|
|
|
+ [Column("lawyer") , MaxLength(127)] public bool Lawyer { get; set; }
|
|
|
+ [Column("necromancer") , MaxLength(127)] public bool Necromancer { get; set; }
|
|
|
+ [Column("parasite") , MaxLength(127)] public bool Parasite { get; set; }
|
|
|
+ [Column("werewolf") , MaxLength(127)] public bool Werewolf { get; set; }
|
|
|
|
|
|
public List<Roles> ToList()
|
|
|
{
|