Add booking travel cities and member relation
All checks were successful
build-and-deploy / build-deploy (push) Successful in 35s

This commit is contained in:
androidlover5842
2026-01-29 13:55:17 +05:30
parent 5fe19cf54c
commit 4c0264cdbe
5 changed files with 79 additions and 0 deletions

View File

@@ -74,6 +74,16 @@ class Booking(
@Column(name = "expected_guest_count")
var expectedGuestCount: Int? = null,
@Column(name = "from_city")
var fromCity: String? = null,
@Column(name = "to_city")
var toCity: String? = null,
@Enumerated(EnumType.STRING)
@Column(name = "member_relation")
var memberRelation: MemberRelation? = null,
var notes: String? = null,
@ManyToOne(fetch = FetchType.LAZY)

View File

@@ -0,0 +1,8 @@
package com.android.trisolarisserver.models.booking
enum class MemberRelation {
FRIENDS,
FAMILY,
GROUP,
ALONE
}