added entity function _fieldType