All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mg.common.entity.QPermissionEntity Maven / Gradle / Ivy

The newest version!
package com.mg.common.entity;

import static com.mysema.query.types.PathMetadataFactory.*;

import com.mysema.query.types.path.*;

import com.mysema.query.types.PathMetadata;
import javax.annotation.Generated;
import com.mysema.query.types.Path;
import com.mysema.query.types.path.PathInits;


/**
 * QPermissionEntity is a Querydsl query type for PermissionEntity
 */
@Generated("com.mysema.query.codegen.EntitySerializer")
public class QPermissionEntity extends EntityPathBase {

    private static final long serialVersionUID = 938427393L;

    private static final PathInits INITS = PathInits.DIRECT2;

    public static final QPermissionEntity permissionEntity = new QPermissionEntity("permissionEntity");

    public final com.mg.framework.entity.model.QBaseEntity _super = new com.mg.framework.entity.model.QBaseEntity(this);

    public final EnumPath action = createEnum("action", com.mg.common.entity.vo.PermissionActionEnum.class);

    public final com.mg.framework.entity.metadata.QMObjectEntity belongMObject;

    public final QRoleEntity belongRole;

    //inherited
    public final StringPath createdById = _super.createdById;

    //inherited
    public final DateTimePath createdDate = _super.createdDate;

    //inherited
    public final StringPath createdName = _super.createdName;

    //inherited
    public final StringPath id = _super.id;

    public final com.mg.framework.entity.metadata.QMirrorPropertyEntity property;

    //inherited
    public final StringPath updatedById = _super.updatedById;

    //inherited
    public final DateTimePath updatedDate = _super.updatedDate;

    //inherited
    public final StringPath updatedName = _super.updatedName;

    public QPermissionEntity(String variable) {
        this(PermissionEntity.class, forVariable(variable), INITS);
    }

    public QPermissionEntity(Path path) {
        this(path.getType(), path.getMetadata(), path.getMetadata().isRoot() ? INITS : PathInits.DEFAULT);
    }

    public QPermissionEntity(PathMetadata metadata) {
        this(metadata, metadata.isRoot() ? INITS : PathInits.DEFAULT);
    }

    public QPermissionEntity(PathMetadata metadata, PathInits inits) {
        this(PermissionEntity.class, metadata, inits);
    }

    public QPermissionEntity(Class type, PathMetadata metadata, PathInits inits) {
        super(type, metadata, inits);
        this.belongMObject = inits.isInitialized("belongMObject") ? new com.mg.framework.entity.metadata.QMObjectEntity(forProperty("belongMObject")) : null;
        this.belongRole = inits.isInitialized("belongRole") ? new QRoleEntity(forProperty("belongRole"), inits.get("belongRole")) : null;
        this.property = inits.isInitialized("property") ? new com.mg.framework.entity.metadata.QMirrorPropertyEntity(forProperty("property"), inits.get("property")) : null;
    }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy