View Javadoc
1   package org.oxerr.commons.user.domain;
2   
3   import static com.querydsl.core.types.PathMetadataFactory.*;
4   
5   import com.querydsl.core.types.dsl.*;
6   
7   import com.querydsl.core.types.PathMetadata;
8   import javax.annotation.Generated;
9   import com.querydsl.core.types.Path;
10  import com.querydsl.core.types.dsl.PathInits;
11  
12  
13  /**
14   * QUser is a Querydsl query type for User
15   */
16  @Generated("com.querydsl.codegen.EntitySerializer")
17  public class QUser extends EntityPathBase<User> {
18  
19      private static final long serialVersionUID = -394152556L;
20  
21      private static final PathInits INITS = PathInits.DIRECT2;
22  
23      public static final QUser user = new QUser("user");
24  
25      public final QBaseEntity _super;
26  
27      // inherited
28      public final QUser createdBy;
29  
30      //inherited
31      public final DateTimePath<java.time.Instant> createdDate;
32  
33      public final BooleanPath enabled = createBoolean("enabled");
34  
35      //inherited
36      public final ComparablePath<java.util.UUID> id;
37  
38      // inherited
39      public final QUser lastModifiedBy;
40  
41      //inherited
42      public final DateTimePath<java.time.Instant> lastModifiedDate;
43  
44      public final StringPath nickname = createString("nickname");
45  
46      public final StringPath password = createString("password");
47  
48      public final SetPath<Role, QRole> roles = this.<Role, QRole>createSet("roles", Role.class, QRole.class, PathInits.DIRECT2);
49  
50      public final StringPath username = createString("username");
51  
52      //inherited
53      public final NumberPath<Long> version;
54  
55      public QUser(String variable) {
56          this(User.class, forVariable(variable), INITS);
57      }
58  
59      public QUser(Path<? extends User> path) {
60          this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS));
61      }
62  
63      public QUser(PathMetadata metadata) {
64          this(metadata, PathInits.getFor(metadata, INITS));
65      }
66  
67      public QUser(PathMetadata metadata, PathInits inits) {
68          this(User.class, metadata, inits);
69      }
70  
71      public QUser(Class<? extends User> type, PathMetadata metadata, PathInits inits) {
72          super(type, metadata, inits);
73          this._super = new QBaseEntity(type, metadata, inits);
74          this.createdBy = _super.createdBy;
75          this.createdDate = _super.createdDate;
76          this.id = _super.id;
77          this.lastModifiedBy = _super.lastModifiedBy;
78          this.lastModifiedDate = _super.lastModifiedDate;
79          this.version = _super.version;
80      }
81  
82  }
83