<?php
/*
　* @$Id
　* @
　* @Ver: 2.0
　* @Create: 2009-11-18 8:10
　* @Modify: 
　* @Author: CPWEB http://www.cpweb.net.cn
　* @Copyright (C) 2008 www.cpweb.net.cn. All Rights Reserved.
　* @License CPWEB is free software and use is subject to license terms
　*/
class ProductViewModel extends ViewModel{
	protected $viewFields = array(
		'Product'=>array('id','category_id','subject','postdate','hits','ischecked','istop','price','spec','size','boutique','hot','brand','weight','unit','stock','promotions','market_price','promotions_price','promotions_start_time','promotions_end_time','message','content','attachment','attachfolder','attachpath','attachthumb'),
		'Category'=>array('title','_on'=>'Product.category_id=Category.id'),
		'Channel'=>array('folder','model_id','_on'=>'Category.channel_id=Channel.id'),
		'Model'=>array('address','_on'=>'Channel.model_id=Model.id'),
	);
}
?>