Model generation and kotlin

I created some entities created in model generator then did some modification in code (text mode)

When I return in designer mode, sometimes the kotlin code is modified in a bad way.

For example,
I had an interface that I add on all my entities (may be it’s related to the problem)

interface IDisplayName {
    val displayName: String
}

then I implements in the entity

@get:InstanceName
@get:DependsOnProperties("code")
override val displayName: String
    get() = code ?: id.toString()

That’s ok, but if I open the designer sometimes the code is modified to

@get:JmixProperty
@DependsOnProperties("code")
override val displayName: String
   get() = code ?: id.toString()
   private set

Hi

I didn’t reproduce the issue. What Jmix plugin version do you use?
Could you please provide simple project reproducing the issue?
It is very unlikely that the problem related to model generation.