db models multiple inheritance

inheritance common function get full obj.