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

sirius.biz.tenants.TenantRoleAssignment Maven / Gradle / Ivy

There is a newer version: 9.6
Show newest version
/*
 * Made with all the love in the world
 * by scireum in Remshalden, Germany
 *
 * Copyright by scireum GmbH
 * http://www.scireum.de - [email protected]
 */

package sirius.biz.tenants;

import sirius.db.mixing.Column;
import sirius.db.mixing.Entity;
import sirius.db.mixing.EntityRef;

/**
 * Created by aha on 10.08.16.
 */
public class TenantRoleAssignment extends Entity {

    public static final Column ROLE = Column.named("role");
    private final EntityRef role = EntityRef.on(TenantRole.class, EntityRef.OnDelete.CASCADE);

    public static final Column RELATION = Column.named("relation");
    private final EntityRef relation = EntityRef.on(TenantRelation.class, EntityRef.OnDelete.CASCADE);

    public EntityRef getRole() {
        return role;
    }

    public EntityRef getRelation() {
        return relation;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy