Просмотр исходного кода

дополнены fillable в CharBase

ilg2005 4 месяцев назад
Родитель
Сommit
0320846b3e
1 измененных файлов с 97 добавлено и 9 удалено
  1. 97 9
      app/Models/Char/CharBase.php

+ 97 - 9
app/Models/Char/CharBase.php

@@ -7,14 +7,102 @@ use Illuminate\Database\Eloquent\Model;
 
 class CharBase extends Model
 {
-    protected $connection = "Char";
-    protected $table = "Table_CharBase";
-    protected $primaryKey = "DBKey";
-    protected $dates = [];
-    protected $fillable =
-            [
-              "DBKey", "Account", "Name"
-            ];
+  protected $connection = "Char";
+  protected $table = "Table_CharBase";
+  protected $primaryKey = "DBKey";
+  protected $dates = [];
+  protected $fillable =
+    [
+      "Account",
+      "AccountName",
+      "AchievementPoint",
+      "Angle",
+      "Ap",
+      "BoostSlot",
+      "CanUseSoulTalentsAwaken",
+      "Cg",
+      "ChangeWorld",
+      "Class",
+      "CollectingExp",
+      "CollectingGrade",
+      "Comment",
+      "Cp",
+      "CreateTime",
+      "DBKey",
+      "Dark",
+      "Deleted",
+      "DynamicWarpAngle",
+      "DynamicWarpMap",
+      "DynamicWarpPosX",
+      "DynamicWarpPosY",
+      "DynamicWarpPosZ",
+      "Ep",
+      "EventInGateArea",
+      "Exp",
+      "ExpirationPeriodInvenSlot",
+      "FarmDBKey",
+      "FellowBagSlot",
+      "FellowSlot",
+      "FellowSlotExp",
+      "Female",
+      "Fire",
+      "Fp",
+      "GuildDBKey",
+      "GuildMemberPermissions",
+      "GuildMemberRankName",
+      "GuildMemberType",
+      "Hp",
+      "Ice",
+      "Integration",
+      "InvenBag1Prioritize",
+      "InvenBag2Prioritize",
+      "InvenBag3Prioritize",
+      "InvenBag4Prioritize",
+      "InvenPrioritize",
+      "InvenSlot",
+      "ItemSerialOrder",
+      "KeepingSlot",
+      "LastAccessDate",
+      "LastSummonFellow",
+      "Level",
+      "Light",
+      "MakeCodeNo",
+      "MapId",
+      "MatchingRemMSec",
+      "MentoringGraduationCount",
+      "MentoringPenaltyTime",
+      "Money",
+      "Mp",
+      "Name",
+      "OnBoardSkillUnsealed",
+      "Online",
+      "PartyID",
+      "PosX",
+      "PosY",
+      "PosZ",
+      "PreMapId",
+      "PrePosX",
+      "PrePosY",
+      "PrePosZ",
+      "Race",
+      "Rp",
+      "SelectCount",
+      "SoulPoint",
+      "Sp",
+      "SpaceType",
+      "StartIdx",
+      "StaticWarpArea",
+      "SummonFellow",
+      "TitleRecID",
+      "TitleRecKey",
+      "TotalPlayTime",
+      "Tp",
+      "bCanUseSoulTalents",
+      "bMilitiaType",
+      "bMount",
+      "byIllegal",
+      "byUnderware"
+    ];
 
-    public $timestamps = false;
+  public $timestamps = false;
 }