<?php
declare (strict_types = 1);

namespace app\common\model;

/**
 * 附件（下载管理）分类模型
 * @mixin \think\Model
 */
class AttachmentCategoryBaseModel extends BaseModel
{
    // 表名
    protected $name = 'attachment_category';

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

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