File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
src/main/kotlin/com/ctrlhub/core/datacapture/response Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
package com.ctrlhub.core.datacapture.response
2
2
3
+ import com.fasterxml.jackson.annotation.JsonIgnoreProperties
4
+ import com.fasterxml.jackson.annotation.JsonProperty
5
+ import com.github.jasminb.jsonapi.annotations.Meta
3
6
import com.github.jasminb.jsonapi.annotations.Type
7
+ import java.time.LocalDateTime
4
8
5
9
@Type(" form-schemas" )
6
- data class FormSchema (
10
+ data class FormSchema (
7
11
val id : String? = null ,
8
12
val rawSchema : String? = null ,
13
+ @Meta
14
+ var meta : FormSchemaMeta ? = null ,
15
+ )
16
+
17
+ @JsonIgnoreProperties(ignoreUnknown = true )
18
+ data class FormSchemaMeta (
19
+ @JsonProperty(" created_at" ) var createdAt : LocalDateTime ,
20
+ @JsonProperty(" updated_at" ) var updatedAt : LocalDateTime ,
21
+ @JsonProperty(" latest" ) var latest : String ,
9
22
)
You can’t perform that action at this time.
0 commit comments