I just tried it, it seems Doctrine does not support specifying class constant.