City.php 564 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * @package merchant
  4. * @Author: Qinii
  5. * @Date: 2020/5/6
  6. * @Time: 15:10
  7. */
  8. namespace app\common\model\store\shipping;
  9. use app\common\model\BaseModel;
  10. class City extends BaseModel
  11. {
  12. /**
  13. * Author:Qinii
  14. * Date: 2020/5/6
  15. * Time: 14:20
  16. * @return string
  17. */
  18. public static function tablePk(): string
  19. {
  20. return 'id';
  21. }
  22. /**
  23. * Author:Qinii
  24. * Date: 2020/5/6
  25. * Time: 14:20
  26. * @return string
  27. */
  28. public static function tableName(): string
  29. {
  30. return 'system_city';
  31. }
  32. }