diff --git a/app/common/model/store/GeoArea.php b/app/common/model/store/GeoArea.php new file mode 100644 index 00000000..8c8a77a4 --- /dev/null +++ b/app/common/model/store/GeoArea.php @@ -0,0 +1,31 @@ + +// +---------------------------------------------------------------------- + + +namespace app\common\model\store; + + +use app\common\model\BaseModel; + +class GeoArea extends BaseModel +{ + + public static function tablePk(): ?string + { + return 'id'; + } + + public static function tableName(): string + { + return 'geo_area'; + } + +} diff --git a/app/common/model/store/GeoBrigade.php b/app/common/model/store/GeoBrigade.php new file mode 100644 index 00000000..6a9c2d80 --- /dev/null +++ b/app/common/model/store/GeoBrigade.php @@ -0,0 +1,30 @@ + +// +---------------------------------------------------------------------- + + +namespace app\common\model\store; + + +use app\common\model\BaseModel; + +class GeoBrigade extends BaseModel +{ + + public static function tablePk(): ?string + { + return 'id'; + } + + public static function tableName(): string + { + return 'geo_brigade'; + } +} diff --git a/app/common/model/store/GeoCity.php b/app/common/model/store/GeoCity.php new file mode 100644 index 00000000..45e0fc5b --- /dev/null +++ b/app/common/model/store/GeoCity.php @@ -0,0 +1,31 @@ + +// +---------------------------------------------------------------------- + + +namespace app\common\model\store; + + +use app\common\model\BaseModel; + +class GeoCity extends BaseModel +{ + + public static function tablePk(): ?string + { + return 'id'; + } + + public static function tableName(): string + { + return 'geo_city'; + } + +} diff --git a/app/common/model/store/GeoProvince.php b/app/common/model/store/GeoProvince.php new file mode 100644 index 00000000..4e91f8f5 --- /dev/null +++ b/app/common/model/store/GeoProvince.php @@ -0,0 +1,30 @@ + +// +---------------------------------------------------------------------- + + +namespace app\common\model\store; + + +use app\common\model\BaseModel; + +class GeoProvince extends BaseModel +{ + + public static function tablePk(): ?string + { + return 'id'; + } + + public static function tableName(): string + { + return 'geo_province'; + } +} diff --git a/app/common/model/store/GeoStreet.php b/app/common/model/store/GeoStreet.php new file mode 100644 index 00000000..1923eb94 --- /dev/null +++ b/app/common/model/store/GeoStreet.php @@ -0,0 +1,30 @@ + +// +---------------------------------------------------------------------- + + +namespace app\common\model\store; + + +use app\common\model\BaseModel; + +class GeoStreet extends BaseModel +{ + + public static function tablePk(): ?string + { + return 'id'; + } + + public static function tableName(): string + { + return 'geo_street'; + } +} diff --git a/app/common/model/store/GeoVillage.php b/app/common/model/store/GeoVillage.php new file mode 100644 index 00000000..a1eaca3b --- /dev/null +++ b/app/common/model/store/GeoVillage.php @@ -0,0 +1,30 @@ + +// +---------------------------------------------------------------------- + + +namespace app\common\model\store; + + +use app\common\model\BaseModel; + +class GeoVillage extends BaseModel +{ + + public static function tablePk(): ?string + { + return 'id'; + } + + public static function tableName(): string + { + return 'geo_village'; + } +}