catchAdmin/catch/domain/support/contract/DomainRecordInterface.php

27 lines
970 B
PHP
Raw Normal View History

2020-09-26 15:10:41 +08:00
<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2020 http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------
namespace catchAdmin\domain\support\contract;
interface DomainRecordInterface
{
public function getList(array $params);
public function store(array $params);
2020-09-28 09:55:30 +08:00
public function delete($recordId);
2020-09-26 15:10:41 +08:00
public function read(array $params);
2020-09-28 09:55:30 +08:00
public function update($recordId, array $params);
public function enable($recordId, $status);
2020-09-26 15:10:41 +08:00
}