<?php

namespace app\admin\model;

use app\common\model\TimeModel;

class BlackIp extends TimeModel
{
    protected function getOptions(): array
    {
        return [
            'deleteTime' => 'delete_time',
        ];
    }

    // * +++++++++++++++++++++++++++
    // | 以下两种写法适用于 with 关联
    // * +++++++++++++++++++++++++

    //    public function cate(): BelongsTo
    //    {
    //        return $this->belongsTo('app\admin\model\MallCate', 'cate_id', 'id');
    //    }

}