package Ġcom . user . in vo ic eman agement . model . dto Ċ Ċ import Ġcom . ra iz labs . android . db flow . annotation . Column Ċ import Ġcom . ra iz labs . android . db flow . annotation . OneToMany Ċ import Ġcom . ra iz labs . android . db flow . annotation . PrimaryKey Ċ import Ġcom . ra iz labs . android . db flow . annotation . Table Ċ import Ġcom . ra iz labs . android . db flow . kotlin extensions . from Ċ import Ġcom . ra iz labs . android . db flow . kotlin extensions . one ToMany Ċ import Ġcom . ra iz labs . android . db flow . kotlin extensions . select Ċ import Ġcom . ra iz labs . android . db flow . kotlin extensions . where ĊĊ Ċ @ Table ( database Ġ= ĠDb flow Database :: class ) Ċ class ĠProduct Factory Ġ{ ĊĊĠĠĠ Ġ@ PrimaryKey ( auto increment Ġ= Ġtrue ) ĊĠĠĠ Ġvar Ġid : ĠLong Ġ= Ġ 0 ĊĊĠĠĠ Ġ@ Column ĊĠĠĠ Ġvar Ġname : ĠString Ġ= Ġ"" ĊĊĊĠĠĠ Ġ@ get : OneToMany ( methods Ġ= ĠarrayOf ( OneToMany . Method . ALL )) ĊĠĠĠ Ġvar Ġproducts Ġby Ġone ToMany Ġ{ Ġselect Ġfrom ĠProduct :: class Ġwhere Ġ( Product _ Table . factory Id . eq ( id )) Ġ} Ċ }