API 1.0.39 FAQ sort
This commit is contained in:
@@ -10,7 +10,8 @@ import javax.persistence.*
|
||||
data class Faq (
|
||||
@Expose @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @get: NonNull var faqId: Long = 0,
|
||||
@Expose @get: NonNull var name: String,
|
||||
@Expose @get: NonNull var description: String,
|
||||
@Expose var description: String? = null,
|
||||
@Expose var sort: Int? = null,
|
||||
|
||||
) {
|
||||
@OneToMany(cascade = [(CascadeType.ALL)], fetch = FetchType.EAGER, mappedBy = "faq")
|
||||
|
||||
Reference in New Issue
Block a user