Found the problem.
In my table, the column is named datedAt, but in my model i had the get and set method named getDate() and setDate(). Apparently shopware links those method names to the name of the column in the table so i had to rename the methods to getDatedAt() and setDatedAt().
so this was wrong
/**
* @return \DateTime
*/
public function getDate()
{
return $this->datedAt;
}
/**
* @param \DateTime $value
*/
public function setDate($value)
{
$this->datedAt = $value;
}
and this is correct
/**
* @return \DateTime
*/
public function getDatedAt()
{
return $this->datedAt;
}
/**
* @param \DateTime $value
*/
public function setDatedAt($value)
{
$this->datedAt = $value;
}