Add rate plans, room stay rates, and payments ledger
All checks were successful
build-and-deploy / build-deploy (push) Successful in 34s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 34s
This commit is contained in:
@@ -33,6 +33,19 @@ class RoomStay(
|
||||
@Column(name = "to_at", columnDefinition = "timestamptz")
|
||||
var toAt: OffsetDateTime? = null, // null = active
|
||||
|
||||
@Enumerated(EnumType.STRING)
|
||||
@Column(name = "rate_source")
|
||||
var rateSource: RateSource? = null,
|
||||
|
||||
@Column(name = "nightly_rate")
|
||||
var nightlyRate: Long? = null,
|
||||
|
||||
@Column(name = "rate_plan_code")
|
||||
var ratePlanCode: String? = null,
|
||||
|
||||
@Column(name = "currency")
|
||||
var currency: String? = null,
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@JoinColumn(name = "created_by")
|
||||
var createdBy: AppUser? = null,
|
||||
|
||||
Reference in New Issue
Block a user