MerchantCategory.php 599 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace app\common\model\system\merchant;
  3. use app\common\model\BaseModel;
  4. /**
  5. * Class MerchantCategory
  6. * @package app\common\model\system\merchant
  7. * @author zfy
  8. * @day 2020-05-06
  9. */
  10. class MerchantCategory extends BaseModel
  11. {
  12. /**
  13. * @return string
  14. * @author zfy
  15. * @day 2020-03-30
  16. */
  17. public static function tablePk(): string
  18. {
  19. return 'merchant_category_id';
  20. }
  21. /**
  22. * @return string
  23. * @author zfy
  24. * @day 2020-03-30
  25. */
  26. public static function tableName(): string
  27. {
  28. return 'merchant_category';
  29. }
  30. }