
com.serphacker.serposcope.querybuilder.QUser Maven / Gradle / Ivy
The newest version!
package com.serphacker.serposcope.querybuilder;
import static com.querydsl.core.types.PathMetadataFactory.*;
import com.querydsl.core.types.dsl.*;
import com.querydsl.core.types.PathMetadata;
import javax.annotation.Generated;
import com.querydsl.core.types.Path;
import com.querydsl.sql.ColumnMetadata;
import java.sql.Types;
/**
* QUser is a Querydsl query type for QUser
*/
@Generated("com.querydsl.sql.codegen.MetaDataSerializer")
public class QUser extends com.querydsl.sql.RelationalPathBase {
private static final long serialVersionUID = -1729970537;
public static final QUser user = new QUser("USER");
public final BooleanPath admin = createBoolean("admin");
public final StringPath email = createString("email");
public final NumberPath id = createNumber("id", Integer.class);
public final DateTimePath logout = createDateTime("logout", java.sql.Timestamp.class);
public final SimplePath passwordHash = createSimple("passwordHash", java.sql.Blob.class);
public final SimplePath passwordSalt = createSimple("passwordSalt", java.sql.Blob.class);
public final com.querydsl.sql.PrimaryKey constraint2 = createPrimaryKey(id);
public final com.querydsl.sql.ForeignKey _constraintC6 = createInvForeignKey(id, "USER_ID");
public QUser(String variable) {
super(QUser.class, forVariable(variable), "PUBLIC", "USER");
addMetadata();
}
public QUser(String variable, String schema, String table) {
super(QUser.class, forVariable(variable), schema, table);
addMetadata();
}
public QUser(String variable, String schema) {
super(QUser.class, forVariable(variable), schema, "USER");
addMetadata();
}
public QUser(Path extends QUser> path) {
super(path.getType(), path.getMetadata(), "PUBLIC", "USER");
addMetadata();
}
public QUser(PathMetadata metadata) {
super(QUser.class, metadata, "PUBLIC", "USER");
addMetadata();
}
public void addMetadata() {
addMetadata(admin, ColumnMetadata.named("ADMIN").withIndex(5).ofType(Types.BOOLEAN).withSize(1));
addMetadata(email, ColumnMetadata.named("EMAIL").withIndex(2).ofType(Types.VARCHAR).withSize(255));
addMetadata(id, ColumnMetadata.named("ID").withIndex(1).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(logout, ColumnMetadata.named("LOGOUT").withIndex(6).ofType(Types.TIMESTAMP).withSize(23).withDigits(10));
addMetadata(passwordHash, ColumnMetadata.named("PASSWORD_HASH").withIndex(3).ofType(Types.BLOB).withSize(2147483647));
addMetadata(passwordSalt, ColumnMetadata.named("PASSWORD_SALT").withIndex(4).ofType(Types.BLOB).withSize(2147483647));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy