Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.nauka.room
- import android.os.Parcel
- import android.os.Parcelable
- import androidx.room.Embedded
- import androidx.room.Relation
- import io.reactivex.Flowable
- data class EmployeeWithAddress(
- @Embedded
- val employee: Employee,
- @Relation(parentColumn = "id", entityColumn = "aid", entity = Address::class)
- var getEmployeeWithAddress: Flowable<List<Address>>
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement