[F] JsonIgnore ID

pull/23/head
Azalea 2024-03-25 14:15:49 -04:00
parent c41046953e
commit 0ec76dcde3
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ interface IGenericGamePlaylog {
open class BaseEntity(
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@JsonProperty(access = JsonProperty.Access.READ_ONLY)
@JsonIgnore
var id: Long = 0
) : JavaSerializable {
override fun toString() = JACKSON.writeValueAsString(this)