fix error for recommend

Signed-off-by: Puqns67 <me@puqns67.icu>
This commit is contained in:
Puqns67 2023-09-14 23:07:43 +08:00
parent 7514842f19
commit e067f7c7ae
Signed by: Puqns67
GPG Key ID: 9669DF042554F536
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
package team8.fruitable.controller.api 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.GetMapping
import org.springframework.web.bind.annotation.PathVariable import org.springframework.web.bind.annotation.PathVariable
import org.springframework.web.bind.annotation.RestController import org.springframework.web.bind.annotation.RestController

View File

@ -12,7 +12,7 @@ class Recommend (
@OneToOne @OneToOne
@JoinColumn(name = "item") @JoinColumn(name = "item")
var item: Item, var item: Item? = null,
@Column(name="description", length=32, nullable = false) @Column(name="description", length=32, nullable = false)
var description: String? = null, var description: String? = null,