61 lines
1.2 KiB
PHP
61 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace App\Models\Game\Player;
|
|
|
|
use App\Models\Enums\GrowthPetAffectEnum;
|
|
use App\Models\Enums\GrowthPetPointEnum;
|
|
use App\Models\Enums\GrowthPetTypeEnum;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class GrowthPetSkillProto extends Model
|
|
{
|
|
/**
|
|
* Indicates if the model should be timestamped.
|
|
*
|
|
* @var bool
|
|
*/
|
|
public $timestamps = false;
|
|
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $table = 'growth_pet_skill_proto';
|
|
|
|
/**
|
|
* The primary key for the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $primaryKey = '';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array<int, string>
|
|
*/
|
|
protected $fillable = [
|
|
|
|
];
|
|
|
|
/**
|
|
* The attributes that should be hidden for serialization.
|
|
*
|
|
* @var array<int, string>
|
|
*/
|
|
protected $hidden = [
|
|
];
|
|
|
|
/**
|
|
* The attributes that should be cast.
|
|
*
|
|
* @var array<string, string>
|
|
*/
|
|
protected $casts = [
|
|
'bType' => GrowthPetTypeEnum::class,
|
|
'setAffectFlag' => GrowthPetAffectEnum::class,
|
|
'szPointOn' => GrowthPetPointEnum::class,
|
|
];
|
|
}
|