add relation_counter
add product type model
Merge branch 'develop'