<?php

// 系统配置
return [
	
	'models' => [
		'product'          => \App\Models\ProductDescription::class,
 		'productCate'      => \App\Models\ProductCateDescription::class,
		'case'             => \App\Models\CasesDescription::class,
 		'caseCate'         => \App\Models\CaseCateDescription::class,
        'album'            => \App\Models\AlbumDescription::class,
        'albumCate'        => \App\Models\AlbumCateDescription::class,
		'news'             => \App\Models\NewsDescription::class,
 		'newsCate'         => \App\Models\NewsCateDescription::class, 
		'page'             => \App\Models\PageDescription::class,
 		'pageCate'         => \App\Models\PageCateDescription::class, 
		'video'            => \App\Models\VideoDescription::class,
 		'videoCate'        => \App\Models\VideoCateDescription::class, 
		'download'         => \App\Models\DownloadDescription::class,
 		'downloadCate'     => \App\Models\DownloadCateDescription::class, 
		'job'              => \App\Models\JobDescription::class,
 		'jobCate'          => \App\Models\JobCateDescription::class, 
		'nav'              => \App\Models\NavDescription::class,
		'tag'              => \App\Models\TagDescription::class,
        'ad'               => \App\Models\AdDescription::class,
        'setting'          => \App\Models\Setting::class,
        'attribute'        => \App\Models\AttributeDescription::class,
        'productAttr'      => \App\Models\ProductAttribute::class,
        'block'            => \App\Models\BlockDescription::class,
        'photoGroup'       => \App\Models\PhotoGroupDescription::class,
        'productIntro'     => \App\Models\ProductIntroduction::class,
	],
	'idType' => [
		'product'          => 'product_id',
 		'productCate'      => 'product_cid',
		'case'             => 'case_id',
 		'caseCate'         => 'case_cid',
        'album'            => 'album_id',
        'albumCate'        => 'album_cid',
		'news'             => 'news_id',
 		'newsCate'         => 'news_cid',
		'page'             => 'page_id',
 		'pageCate'         => 'page_cid',
		'video'            => 'video_id',
 		'videoCate'        => 'video_cid',
		'download'         => 'download_id',
 		'downloadCate'     => 'download_cid',
		'job'              => 'job_id',
 		'jobCate'          => 'job_cid',
		'nav'              => 'nav_id',
		'tag'              => 'tag_id',
        'ad'               => 'ad_id',
        'setting'          => 'name',
        'attribute'        => 'attribute_id',
        'productAttr'      => 'product_id',
        'block'            => 'block_id',
        'photoGroup'       => 'photo_group_id',
        'productIntro'     => 'product_id',
	],
	'nameField' => [
		'product'          => 'title',
 		'productCate'      => 'cname',
		'case'             => 'title',
 		'caseCate'         => 'cname',
        'album'            => 'title',
        'albumCate'        => 'cname',
		'news'             => 'title',
 		'newsCate'         => 'cname',
		'page'             => 'title',
 		'pageCate'         => 'cname',
		'video'            => 'title',
 		'videoCate'        => 'cname',
		'download'         => 'title',
 		'downloadCate'     => 'cname',
		'job'              => 'title',
 		'jobCate'          => 'cname',
		'nav'              => 'cname',
		'tag'              => 'name',
        'ad'               => 'title',
        'setting'          => 'value',
        'attribute'        => 'title',
        'productAttr'      => 'text',
        'block'            => 'title',
        'photoGroup'       => 'title',
        'productIntro'     => 'title'
	],

    'settingFields' => ['title', 'company', 'address', 'contact', 'site_title', 'meta_keywords', 'meta_description', 'product_title', 'product_keyword', 'product_description', 'cate_title', 'cate_keyword', 'cate_description', 'tag_title', 'tag_keyword', 'tag_description', 'tag_ranking', 'kf_title', 'kf_text1', 'kf_text2', 'kf_text3']

];

