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

com.mg.common.entity.QMenuEntity 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;


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

    private static final long serialVersionUID = 1618421457L;

    private static final PathInits INITS = PathInits.DIRECT2;

    public static final QMenuEntity menuEntity = new QMenuEntity("menuEntity");

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

    public final QMenuEntity belongMenu;

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

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

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

    public final NumberPath deep = createNumber("deep", Integer.class);

    public final StringPath iconPath = createString("iconPath");

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

    public final ListPath menus = this.createList("menus", MenuEntity.class, QMenuEntity.class, PathInits.DIRECT2);

    public final StringPath name = createString("name");

    public final StringPath path = createString("path");

    public final NumberPath sort = createNumber("sort", Integer.class);

    public final NumberPath status = createNumber("status", Integer.class);

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

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

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

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

    public QMenuEntity(String variable) {
        this(MenuEntity.class, forVariable(variable), INITS);
    }

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

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

    public QMenuEntity(PathMetadata metadata, PathInits inits) {
        this(MenuEntity.class, metadata, inits);
    }

    public QMenuEntity(Class type, PathMetadata metadata, PathInits inits) {
        super(type, metadata, inits);
        this.belongMenu = inits.isInitialized("belongMenu") ? new QMenuEntity(forProperty("belongMenu"), inits.get("belongMenu")) : null;
    }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy