WechatUser.php 535 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * @package merchant
  4. *
  5. * @author xaboy
  6. * @day 2020-04-28
  7. *
  8. *
  9. */
  10. namespace app\common\model\wechat;
  11. use app\common\model\BaseModel;
  12. class WechatUser extends BaseModel
  13. {
  14. /**
  15. * @return string
  16. * @author xaboy
  17. * @day 2020-03-30
  18. */
  19. public static function tablePk(): string
  20. {
  21. return 'wechat_user_id';
  22. }
  23. /**
  24. * @return string
  25. * @author xaboy
  26. * @day 2020-03-30
  27. */
  28. public static function tableName(): string
  29. {
  30. return 'wechat_user';
  31. }
  32. }