City.php 485 B

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