mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
If there is an entity bean short name clash like PString, PLong, etc then fully qualify all the property types in the generated code, otherwise use imports for the property types.
13 lines
160 B
Java
13 lines
160 B
Java
package org.example.domain;
|
|
|
|
import jakarta.persistence.Entity;
|
|
import jakarta.persistence.Id;
|
|
|
|
@Entity
|
|
public class PLong {
|
|
|
|
@Id
|
|
long id;
|
|
String name;
|
|
}
|