ai creates booking

This commit is contained in:
androidlover5842
2026-01-24 19:22:37 +05:30
parent b8c9f8dac4
commit ac79d6d1c0
18 changed files with 559 additions and 12 deletions

View File

@@ -34,6 +34,14 @@ class Property(
@Column(name = "is_active", nullable = false)
var active: Boolean = true,
@ElementCollection(fetch = FetchType.EAGER)
@CollectionTable(
name = "property_email_alias",
joinColumns = [JoinColumn(name = "property_id")]
)
@Column(name = "alias", nullable = false)
var emailAliases: MutableSet<String> = mutableSetOf(),
@Column(name = "created_at", nullable = false, columnDefinition = "timestamptz")
val createdAt: OffsetDateTime = OffsetDateTime.now()
)