filter mails by property contact alias
This commit is contained in:
@@ -3,12 +3,14 @@ package com.android.trisolarisserver.controller.dto
|
||||
import java.util.UUID
|
||||
|
||||
data class OrgCreateRequest(
|
||||
val name: String
|
||||
val name: String,
|
||||
val emailAliases: Set<String>? = null
|
||||
)
|
||||
|
||||
data class OrgResponse(
|
||||
val id: UUID,
|
||||
val name: String
|
||||
val name: String,
|
||||
val emailAliases: Set<String>
|
||||
)
|
||||
|
||||
data class PropertyCreateRequest(
|
||||
@@ -18,7 +20,8 @@ data class PropertyCreateRequest(
|
||||
val timezone: String? = null,
|
||||
val currency: String? = null,
|
||||
val active: Boolean? = null,
|
||||
val otaAliases: Set<String>? = null
|
||||
val otaAliases: Set<String>? = null,
|
||||
val emailAddresses: Set<String>? = null
|
||||
)
|
||||
|
||||
data class PropertyUpdateRequest(
|
||||
@@ -28,7 +31,8 @@ data class PropertyUpdateRequest(
|
||||
val timezone: String? = null,
|
||||
val currency: String? = null,
|
||||
val active: Boolean? = null,
|
||||
val otaAliases: Set<String>? = null
|
||||
val otaAliases: Set<String>? = null,
|
||||
val emailAddresses: Set<String>? = null
|
||||
)
|
||||
|
||||
data class PropertyResponse(
|
||||
@@ -40,7 +44,8 @@ data class PropertyResponse(
|
||||
val timezone: String,
|
||||
val currency: String,
|
||||
val active: Boolean,
|
||||
val otaAliases: Set<String>
|
||||
val otaAliases: Set<String>,
|
||||
val emailAddresses: Set<String>
|
||||
)
|
||||
|
||||
data class UserResponse(
|
||||
|
||||
Reference in New Issue
Block a user