private String getRandomCode(int length) {
        StringBuilder sb = new StringBuilder(6);
        for (int i = 0; i < length; i++) {
            sb.append(getAZ09());
        }
        return sb.toString();
    }