public function getPrice(): int
{
return $this->price;
}
protected function configureListFields(ListMapper $list): void
{
$list
->add('price', null,[
'sort_field_mapping' => [
'fieldName' => 'price+0',
],
])
;
}