DomainRecordInterface.php 970 B

123456789101112131415161718192021222324252627
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CatchAdmin [Just Like ~ ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2017~2020 http://catchadmin.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
  8. // +----------------------------------------------------------------------
  9. // | Author: JaguarJack [ njphper@gmail.com ]
  10. // +----------------------------------------------------------------------
  11. namespace catchAdmin\domain\support\contract;
  12. interface DomainRecordInterface
  13. {
  14. public function getList(array $params);
  15. public function store(array $params);
  16. public function delete($recordId);
  17. public function read(array $params);
  18. public function update($recordId, array $params);
  19. public function enable($recordId, $status);
  20. }