@SuppressWarnings("rawtypes")
	public SecurityCommand(Map o) {
    	this.area = ((Long) o.get("area") != null) ? ((Long) o.get("area")).intValue() : MessageConstants.DEFAULT_AREA;
    	this.mode = (SecurityModeEnum) o.get("mode");
    	this.code = ((Long) o.get("code") != null) ? ((Long) o.get("code")).intValue() : MessageConstants.DEFAULT_USER_CODE;
    }