sirius.biz.tenants.TenantRoleAssignment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sirius-biz Show documentation
Show all versions of sirius-biz Show documentation
Provides a framework for building web based business applications
/*
* 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