Hi team,
I want to extend Tenant entity.
import io.jmix.core.entity.annotation.ReplaceEntity;
import io.jmix.core.metamodel.annotation.JmixEntity;
import io.jmix.multitenancy.entity.Tenant;
import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
@DiscriminatorValue("C")
@JmixEntity
@Entity(name = "crm_Company")
@ReplaceEntity(Tenant.class)
public class Company extends Tenant {
@Column(name = "ADDRESS")
private String address;
@Column(name = "LOGO")
private String logo;
public String getLogo() {
return logo;
}
public void setLogo(String logo) {
this.logo = logo;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
}
But, when i’m opening tenant-browse screen i’m getting error
And i don’t know how to extend tenant-browse.xml and tenant-edit.xml
In cuba-platform it was easy. There was web-screens.xml. But in jmix i can’t find solution for this.
Is there any solution or sample project for this case.
PS: i’m using hover theme