Multitenancy for Jmix 2.4

Hi,
I am using Multitenancy Addon in my Jmix 2.3 Applicaiton, and when i migrated to 2.4, i am getting an deprecation error for AcceptsTenant in the User Entity.

Thanks in advance.

Hi,
Yes, it is deprecated. Please use @TenantId.
Here is the documentation link.

Also, please note the related task: Get rid of AcceptsTenant interface · Issue #2404 · jmix-framework/jmix · GitHub

Now using the interface is not necessary. The marker of multitenancy is the presence of the @TenantId annotation.

Best regards,
Dmitriy