Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

@Retention(CLASS) @Target({TYPE})

public @interface Repository

Generates an implementation named InterfaceNameCn1Repository at build time.

Methods

public abstract Class<?> entity()
public abstract Class<?> key()

Method details

entity

public abstract Class<?> entity()

key

public abstract Class<?> key()