use proper alias

This commit is contained in:
androidlover5842
2026-01-24 19:28:26 +05:30
parent ac79d6d1c0
commit 9300a85bd3
7 changed files with 38 additions and 13 deletions

View File

@@ -14,19 +14,21 @@ data class OrgResponse(
data class PropertyCreateRequest(
val code: String,
val name: String,
val addressText: String? = null,
val timezone: String? = null,
val currency: String? = null,
val active: Boolean? = null,
val emailAliases: Set<String>? = null
val otaAliases: Set<String>? = null
)
data class PropertyUpdateRequest(
val code: String,
val name: String,
val addressText: String? = null,
val timezone: String? = null,
val currency: String? = null,
val active: Boolean? = null,
val emailAliases: Set<String>? = null
val otaAliases: Set<String>? = null
)
data class PropertyResponse(
@@ -34,10 +36,11 @@ data class PropertyResponse(
val orgId: UUID,
val code: String,
val name: String,
val addressText: String?,
val timezone: String,
val currency: String,
val active: Boolean,
val emailAliases: Set<String>
val otaAliases: Set<String>
)
data class UserResponse(

View File

@@ -6,7 +6,8 @@ data class RoomTypeUpsertRequest(
val code: String,
val name: String,
val baseOccupancy: Int? = null,
val maxOccupancy: Int? = null
val maxOccupancy: Int? = null,
val otaAliases: Set<String>? = null
)
data class RoomTypeResponse(
@@ -15,5 +16,6 @@ data class RoomTypeResponse(
val code: String,
val name: String,
val baseOccupancy: Int,
val maxOccupancy: Int
val maxOccupancy: Int,
val otaAliases: Set<String>
)