Entity can't be case class