Format domain module

This commit is contained in:
moezbhatti
2019-04-10 22:12:57 -04:00
parent b64672c472
commit cc7f573e54
11 changed files with 73 additions and 34 deletions
@@ -32,13 +32,15 @@ open class ScheduledMessage(
var attachments: RealmList<String> = RealmList()
) : RealmObject() {
fun copy(id: Long = this.id,
date: Long = this.date,
subId: Int = this.subId,
recipients: RealmList<String> = this.recipients,
sendAsGroup: Boolean = this.sendAsGroup,
body: String = this.body,
attachments: RealmList<String> = this.attachments): ScheduledMessage {
fun copy(
id: Long = this.id,
date: Long = this.date,
subId: Int = this.subId,
recipients: RealmList<String> = this.recipients,
sendAsGroup: Boolean = this.sendAsGroup,
body: String = this.body,
attachments: RealmList<String> = this.attachments
): ScheduledMessage {
return ScheduledMessage(id, date, subId, recipients, sendAsGroup, body, attachments)
}