Add rate plans, room stay rates, and payments ledger
All checks were successful
build-and-deploy / build-deploy (push) Successful in 34s

This commit is contained in:
androidlover5842
2026-01-29 04:56:37 +05:30
parent b6ac87d277
commit 71c70c8554
24 changed files with 902 additions and 4 deletions

View File

@@ -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,