Now I understand why you made a copy of the enum DAO.DataTypeEnum ... so that you can see how to use such an enum.
From a clean code perspective, I would avoid this, as it is just one more source of errors and, strictly speaking, does not add any value compared to the direct use of DataTypeEnum...