*/ protected $fillable = [ 'user_id', 'chat_id', 'verification_code', 'is_verified', 'bot_state', 'bot_data', ]; /** * The attributes that should be cast. * * @return array */ protected function casts(): array { return [ 'is_verified' => 'boolean', 'bot_data' => 'array', ]; } /** * Relación con usuario */ public function user(): BelongsTo { return $this->belongsTo(User::class); } }