<?php
class TranslateViewModel extends ViewModel {
    public $viewFields = array(
       'Translate'=>array('id','name','title','cTime','categoryId','content','readCount','tags','commentCount','status'),
        'Category'  =>  array('title'=>'category', '_on'=>'Translate.categoryId=Category.id')
    );
}
?>
