mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-11 05:57:26 +08:00
[F] JsonIgnore ID
This commit is contained in:
@@ -110,7 +110,7 @@ interface IGenericGamePlaylog {
|
|||||||
open class BaseEntity(
|
open class BaseEntity(
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
@JsonProperty(access = JsonProperty.Access.READ_ONLY)
|
@JsonIgnore
|
||||||
var id: Long = 0
|
var id: Long = 0
|
||||||
) : JavaSerializable {
|
) : JavaSerializable {
|
||||||
override fun toString() = JACKSON.writeValueAsString(this)
|
override fun toString() = JACKSON.writeValueAsString(this)
|
||||||
|
|||||||
Reference in New Issue
Block a user