removed unnecessary enum in Entity