0
0

2 کامیت‌ها cdc29a96a6 ... 56ac7e4f2d

نویسنده SHA1 پیام تاریخ
  zelpold 56ac7e4f2d Merge remote-tracking branch 'origin/develop' into develop 4 سال پیش
  zelpold 7b03f5db8c OpenedRolesEntity.cs fix 4 سال پیش
1فایلهای تغییر یافته به همراه12 افزوده شده و 12 حذف شده
  1. 12 12
      MafiaTelegramBot/DataBase/Entity/OpenedRolesEntity.cs

+ 12 - 12
MafiaTelegramBot/DataBase/Entity/OpenedRolesEntity.cs

@@ -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()
         {