<?php
class BlogViewModel extends ViewModel {
    public $viewFields = array(
       'Blog'=>array('id','name','title','cTime','blogcategoryId','content','readCount','tags','commentCount','status'),
        'Blogcategory'  =>  array('title'=>'blogcategory', '_on'=>'Blog.blogcategoryId=Blogcategory.id')
    );
}
?>
