use component mapping. the value of two class are inserted into a same table.