/*
 * This file is generated by jOOQ.
 */
package ru.micord.ervu_dashboard.db_beans.ervu_dashboard.enums;


import org.jooq.Catalog;
import org.jooq.EnumType;
import org.jooq.Schema;

import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public enum TypePropertyType implements EnumType {

    realty("realty"),

    ground_transportation("ground_transportation"),

    air_vehicles("air_vehicles"),

    water_vehicles("water_vehicles");

    private final String literal;

    private TypePropertyType(String literal) {
        this.literal = literal;
    }

    @Override
    public Catalog getCatalog() {
        return getSchema().getCatalog();
    }

    @Override
    public Schema getSchema() {
        return ErvuDashboard.ERVU_DASHBOARD;
    }

    @Override
    public String getName() {
        return "type_property_type";
    }

    @Override
    public String getLiteral() {
        return literal;
    }

    /**
     * Lookup a value of this EnumType by its literal. Returns
     * <code>null</code>, if no such value could be found, see {@link
     * EnumType#lookupLiteral(Class, String)}.
     */
    public static TypePropertyType lookupLiteral(String literal) {
        return EnumType.lookupLiteral(TypePropertyType.class, literal);
    }
}
