-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 修改物流运费模板相关代码,优化数据传输对象和枚举类 - 重命名部分文件和类,统一命名规范- 添加物流公司的领域模型和仓储接口 - 调整数据库迁移文件,修正字段注释
- Loading branch information
1 parent
fb20294
commit 48ae6a3
Showing
16 changed files
with
73 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
packages/logistics/src/Application/Services/LogisticsCompanyCommandService.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
namespace RedJasmine\Logistics\Application\Services; | ||
|
||
use RedJasmine\Support\Application\ApplicationCommandService; | ||
|
||
class LogisticsCompanyCommandService extends ApplicationCommandService | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...reightTemplates/FreightChargeTypeEnum.php → ...reightTemplates/FreightChargeTypeEnum.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
...logistics/src/Models/LogisticsCompany.php → ...cs/src/Domain/Models/LogisticsCompany.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...els/LogisticsFreightTemplateFeeRegion.php → ...els/LogisticsFreightTemplateFeeRegion.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ls/LogisticsFreightTemplateFreeRegion.php → ...ls/LogisticsFreightTemplateFreeRegion.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
packages/logistics/src/Domain/Repositories/LogisticsCompanyReadRepositoryInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
namespace RedJasmine\Logistics\Domain\Repositories; | ||
|
||
use RedJasmine\Support\Domain\Repositories\ReadRepositoryInterface; | ||
|
||
interface LogisticsCompanyReadRepositoryInterface extends ReadRepositoryInterface | ||
{ | ||
|
||
} |
10 changes: 10 additions & 0 deletions
10
packages/logistics/src/Domain/Repositories/LogisticsCompanyRepositoryInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
namespace RedJasmine\Logistics\Domain\Repositories; | ||
|
||
use RedJasmine\Support\Domain\Repositories\RepositoryInterface; | ||
|
||
interface LogisticsCompanyRepositoryInterface extends RepositoryInterface | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
packages/logistics/src/Infrastructure/Repositories/LogisticsCompanyRepository.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace RedJasmine\Logistics\Infrastructure\Repositories; | ||
|
||
use RedJasmine\Logistics\Domain\Models\LogisticsCompany; | ||
use RedJasmine\Logistics\Domain\Repositories\LogisticsCompanyRepositoryInterface; | ||
use RedJasmine\Support\Infrastructure\Repositories\Eloquent\EloquentRepository; | ||
|
||
/** | ||
* @method LogisticsCompany find($id) | ||
*/ | ||
class LogisticsCompanyRepository extends EloquentRepository implements LogisticsCompanyRepositoryInterface | ||
{ | ||
|
||
/** | ||
* @var $eloquentModelClass class-string | ||
*/ | ||
protected static string $eloquentModelClass = LogisticsCompany::class; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters