public function getAttributes() { return array_merge(parent::getAttributes(), array('type' => 'date')); }