Add enum data type.

Signed-off-by: Mulia Arifandy Nasution <mul14.net@gmail.com>