Soft-disable room types instead of delete
All checks were successful
build-and-deploy / build-deploy (push) Successful in 32s

This commit is contained in:
androidlover5842
2026-01-27 17:24:42 +05:30
parent 4c21830eb0
commit bcfe9fbf2a
3 changed files with 10 additions and 5 deletions

View File

@@ -38,6 +38,9 @@ class RoomType(
@Column(name = "bathroom_sq_feet")
var bathroomSqFeet: Int? = null,
@Column(name = "is_active", nullable = false)
var active: Boolean = true,
@ElementCollection(fetch = FetchType.EAGER)
@CollectionTable(
name = "room_type_alias",