<?php
class ProductViewModel extends ViewModel {
    public $viewFields = array(
       'Product'=>array('id','title','attachpath','attachment','attachthumb','cTime','procategoryId','content','readCount','tags','commentCount','status'),
        'Procategory'  =>  array('title'=>'procategory', '_on'=>'Product.procategoryId=Procategory.id')
    );
}
?>
