mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-19 21:00:53 +08:00
51 lines
1.5 KiB
Java
51 lines
1.5 KiB
Java
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<QCompanies> {
|
|
|
|
private static final long serialVersionUID = 1808918375;
|
|
|
|
public static final QCompanies companies = new QCompanies("COMPANIES");
|
|
|
|
public final NumberPath<Long> id = createNumber("id", Long.class);
|
|
|
|
public final StringPath name = createString("name");
|
|
|
|
public final com.mysema.query.sql.PrimaryKey<QCompanies> constraint5 = createPrimaryKey(id);
|
|
|
|
public QCompanies(String variable) {
|
|
super(QCompanies.class, forVariable(variable), "PUBLIC", "COMPANIES");
|
|
addMetadata();
|
|
}
|
|
|
|
public QCompanies(Path<? extends QCompanies> 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"));
|
|
}
|
|
|
|
}
|