@Override
    public String getColumnName(int column) {
        switch (column) {
            case 0:
                return ResourceBundleProvider.getMessage("rent.room");
            case 1:
                return ResourceBundleProvider.getMessage("rent.person");
            case 2:
                return ResourceBundleProvider.getMessage("rent.start");
            case 3:
                return ResourceBundleProvider.getMessage("rent.end");
            case 4:
                return ResourceBundleProvider.getMessage("rent.number");
            case 5:
                return ResourceBundleProvider.getMessage("table.check");
            default:
                throw new IndexOutOfBoundsException("No column name for index " + column);
        }
    }