Attach room type code and tags to room images
All checks were successful
build-and-deploy / build-deploy (push) Successful in 31s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 31s
This commit is contained in:
@@ -33,6 +33,17 @@ class RoomImage(
|
||||
@Column(name = "size_bytes", nullable = false)
|
||||
var sizeBytes: Long,
|
||||
|
||||
@Column(name = "room_type_code")
|
||||
var roomTypeCode: String? = null,
|
||||
|
||||
@ElementCollection(fetch = FetchType.EAGER)
|
||||
@CollectionTable(
|
||||
name = "room_image_tag",
|
||||
joinColumns = [JoinColumn(name = "room_image_id")]
|
||||
)
|
||||
@Column(name = "tag", nullable = false)
|
||||
var tags: MutableSet<String> = mutableSetOf(),
|
||||
|
||||
@Column(name = "sort_order")
|
||||
var sortOrder: Int? = null,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user