added enum sample based http://qiita.com/i18n/items/66d74b4519d4a08edb68
using enumType instead
fixed application.properties