<?php
declare (strict_types = 1);

namespace app\common\model;

/**
 * 产品分类推荐模型
 * @mixin \think\Model
 */
class ProductCategoryRecommendBaseModel extends BaseModel
{
    // 表名
    protected $name = 'product_category_recommend';

    // 主键
    protected $pk = 'id';

    // 字段信息
    protected $schema = [
        'id'          => 'int',
        'language_id' => 'int',
        'category_id' => 'int',
        'title'       => 'string',
        'image'       => 'string',
        'desc'        => 'string',
        'link'        => 'string',
        'sort'        => 'int',
        'disabled'    => 'int',
        'created_at'  => 'datetime',
        'updated_at'  => 'datetime',
        'deleted_at'  => 'datetime'
    ];
}
