Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Order and Line Item Many to one relationship
data class OrderWithLineItems(
@Embedded var order: Order,
parentColumn = "orderId",
entityColumn = "orderId",
entity = LineItem::class
val lineItemList: MutableList<LineItemAndProduct>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment