Add booking travel cities and member relation
All checks were successful
build-and-deploy / build-deploy (push) Successful in 35s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 35s
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.android.trisolarisserver.models.booking
|
||||
|
||||
enum class MemberRelation {
|
||||
FRIENDS,
|
||||
FAMILY,
|
||||
GROUP,
|
||||
ALONE
|
||||
}
|
||||
Reference in New Issue
Block a user