|
|
@@ -10,15 +10,14 @@ use App\Module\Pet\Casts\NumericAttributesCast;
|
|
|
/**
|
|
|
* 宠物配置模型
|
|
|
*
|
|
|
- * field start
|
|
|
- *
|
|
|
- * @property int $id
|
|
|
- * @property string $pet_type 宠物类型
|
|
|
- * @property object|array $grade_probability 品阶概率配置
|
|
|
- * @property object|array $display_attributes 显示属性配置
|
|
|
- * @property object|array $numeric_attributes 数值属性配置
|
|
|
- * @property \Carbon\Carbon $created_at
|
|
|
- * @property \Carbon\Carbon $updated_at
|
|
|
+ * field start
|
|
|
+ * @property int $id
|
|
|
+ * @property string $pet_type 宠物类型
|
|
|
+ * @property object|array $grade_probability 品阶概率配置
|
|
|
+ * @property object|array $display_attributes 显示属性配置
|
|
|
+ * @property object|array $numeric_attributes 数值属性配置
|
|
|
+ * @property \Carbon\Carbon $created_at
|
|
|
+ * @property \Carbon\Carbon $updated_at
|
|
|
* field end
|
|
|
*/
|
|
|
class PetConfig extends ModelCore
|
|
|
@@ -31,7 +30,7 @@ class PetConfig extends ModelCore
|
|
|
*/
|
|
|
protected $table = 'pet_configs';
|
|
|
|
|
|
- // attrlist start
|
|
|
+ // attrlist start
|
|
|
protected $fillable = [
|
|
|
'id',
|
|
|
'pet_type',
|