added enum type

used different enum syntax

added enum type for data process

added DataProcessTypeEnum