<?php
class TopicchanpinViewModel extends ViewModel {
	//视图定义
	protected $viewFields = array (
		 'Topic'=>array('*','topic_did'=>'chanpin_topic_did'),
		 'Chanpin'=>array('*', '_on'=>'Topic.topic_did = Chanpin.chanpin_id'),
	);
}
?>