add partial method in mapping class tt