Potter entity

Report a typo

What is a pottery studio without a potter? Let's create an entity Potter. Select what to put instead of each (N) to make it work.

Java
// 1) 
public class Potter {
    // 2)
    private Long id;
    private String name;
}
Kotlin
// 1) 
open class Potter(
    // 2)
    open var id: Long = 0,
    open var name: String = ""
)
Match the items from left and right columns
2
1
@Id
@Entity
___

Create a free account to access the full topic