package com.mysema.query; import static com.mysema.query.types.PathMetadataFactory.forVariable; import javax.annotation.Generated; import com.mysema.query.sql.ColumnMetadata; import com.mysema.query.types.Path; import com.mysema.query.types.PathMetadata; import com.mysema.query.types.path.NumberPath; import com.mysema.query.types.path.StringPath; /** * QCompanies is a Querydsl query type for QCompanies */ @Generated("com.mysema.query.sql.codegen.MetaDataSerializer") public class QCompanies extends com.mysema.query.sql.RelationalPathBase { private static final long serialVersionUID = 1808918375; public static final QCompanies companies = new QCompanies("COMPANIES"); public final NumberPath id = createNumber("id", Long.class); public final StringPath name = createString("name"); public final com.mysema.query.sql.PrimaryKey constraint5 = createPrimaryKey(id); public QCompanies(String variable) { super(QCompanies.class, forVariable(variable), "PUBLIC", "COMPANIES"); addMetadata(); } public QCompanies(Path path) { super(path.getType(), path.getMetadata(), "PUBLIC", "COMPANIES"); addMetadata(); } public QCompanies(PathMetadata metadata) { super(QCompanies.class, metadata, "PUBLIC", "COMPANIES"); addMetadata(); } protected void addMetadata() { addMetadata(id, ColumnMetadata.named("ID")); addMetadata(name, ColumnMetadata.named("NAME")); } }