fix error for recommend
Signed-off-by: Puqns67 <me@puqns67.icu>
This commit is contained in:
parent
7514842f19
commit
e067f7c7ae
@ -1,6 +1,5 @@
|
||||
package team8.fruitable.controller.api
|
||||
|
||||
import org.springframework.web.bind.annotation.CookieValue
|
||||
import org.springframework.web.bind.annotation.GetMapping
|
||||
import org.springframework.web.bind.annotation.PathVariable
|
||||
import org.springframework.web.bind.annotation.RestController
|
||||
|
@ -12,7 +12,7 @@ class Recommend (
|
||||
|
||||
@OneToOne
|
||||
@JoinColumn(name = "item")
|
||||
var item: Item,
|
||||
var item: Item? = null,
|
||||
|
||||
@Column(name="description", length=32, nullable = false)
|
||||
var description: String? = null,
|
||||
|
Loading…
x
Reference in New Issue
Block a user