(string)$this->encodePrimaryKey($design->id), 'name' => (string)$design->name, 'is_custom' => (bool)$design->is_custom, 'is_active' => (bool)$design->is_active, 'design' => $design->design, 'updated_at' => (int)$design->updated_at, 'archived_at' => (int)$design->deleted_at, 'created_at' => (int)$design->created_at, ]; } }