<?php
declare (strict_types = 1);

namespace app\common\model;

/**
 * @mixin \think\Model
 */
class ArticleCategoryBaseModel extends BaseModel
{
    // 表名
    protected $name = 'article_category';

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

    // 字段信息
    protected $schema = [
        'id'           => 'int',
        'language_id'  => 'int',
        'pid'          => 'int',
        'unique_label' => 'string',
        'name'         => 'string',
        'short_name'   => 'string',
        'icon'         => 'string',
        'desc'         => 'string',
        'sort'         => 'int',
        'level'        => 'int',
        'is_show'      => 'int',
        'created_at'   => 'datetime',
        'updated_at'   => 'datetime',
        'deleted_at'   => 'datetime',
    ];
}
