added #datetime reader tag
use bigdec instead of BigDecimal.
replace enum database entities with keys