Changes
Page history
Update Custom-Base-Entity.md
authored
Sep 29, 2023
by
Ticxo
Hide whitespace changes
Inline
Side-by-side
API/Advanced/Custom-Base-Entity.md
View page @
2b0890f9
...
@@ -3,15 +3,15 @@ complex than the default `Dummy`. You can wrap your custom target with `BaseEnti
...
@@ -3,15 +3,15 @@ complex than the default `Dummy`. You can wrap your custom target with `BaseEnti
```
java
```
java
public
class
CustomBaseEntity
implements
BaseEntity
<
CustomTarget
>
{
public
class
CustomBaseEntity
implements
BaseEntity
<
CustomTarget
>
{
@Getter
private
final
CustomTarget
original
;
@Getter
private
final
CustomTarget
original
;
public
CustomBaseEntity
(
CustomTarget
original
)
{
public
CustomBaseEntity
(
CustomTarget
original
)
{
this
.
original
=
original
;
this
.
original
=
original
;
}
}
// Implement the rest of the methods
// Implement the rest of the methods
}
}
```
```
...
...
...
...