Entity can use advanced data type like \DateTime.