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   * QBaseEntity is a Querydsl query type for BaseEntity
15   */
16  @Generated("com.querydsl.codegen.SupertypeSerializer")
17  public class QBaseEntity extends EntityPathBase<BaseEntity> {
18  
19      private static final long serialVersionUID = 220153117L;
20  
21      private static final PathInits INITS = PathInits.DIRECT2;
22  
23      public static final QBaseEntity baseEntity = new QBaseEntity("baseEntity");
24  
25      public final QUser createdBy;
26  
27      public final DateTimePath<java.time.Instant> createdDate = createDateTime("createdDate", java.time.Instant.class);
28  
29      public final ComparablePath<java.util.UUID> id = createComparable("id", java.util.UUID.class);
30  
31      public final QUser lastModifiedBy;
32  
33      public final DateTimePath<java.time.Instant> lastModifiedDate = createDateTime("lastModifiedDate", java.time.Instant.class);
34  
35      public final NumberPath<Long> version = createNumber("version", Long.class);
36  
37      public QBaseEntity(String variable) {
38          this(BaseEntity.class, forVariable(variable), INITS);
39      }
40  
41      public QBaseEntity(Path<? extends BaseEntity> path) {
42          this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS));
43      }
44  
45      public QBaseEntity(PathMetadata metadata) {
46          this(metadata, PathInits.getFor(metadata, INITS));
47      }
48  
49      public QBaseEntity(PathMetadata metadata, PathInits inits) {
50          this(BaseEntity.class, metadata, inits);
51      }
52  
53      public QBaseEntity(Class<? extends BaseEntity> type, PathMetadata metadata, PathInits inits) {
54          super(type, metadata, inits);
55          this.createdBy = inits.isInitialized("createdBy") ? new QUser(forProperty("createdBy"), inits.get("createdBy")) : null;
56          this.lastModifiedBy = inits.isInitialized("lastModifiedBy") ? new QUser(forProperty("lastModifiedBy"), inits.get("lastModifiedBy")) : null;
57      }
58  
59  }
60