make sc_relation and category model