class VinesRelation {
@Embedded var vine: Vines? = null
@Relation(
parentColumn = "country_id",
entityColumn = "id"
)
var country: Countries? = null
@Relation(
parentColumn = "type_id",
entityColumn = "id"
)
var type: Types? = null
@Relation(
parentColumn = "color_id",
entityColumn = "id"
)
var color: Colors? = null
@Relation(
parentColumn = "region_id",
entityColumn = "id"
)
var region: Regions? = null
@Relation(
parentColumn = "grapes_sort_id",
entityColumn = "id"
)
var grapesSort: GrapesSort? = null
@Relation(
parentColumn = "trapeza_id_list",
entity = Trapeza::class,
entityColumn = "id"
)
var trapeza: MutableList<Trapeza>? = null
}