백엔드 패키지 구조 - STANL-2/MOTIVE GitHub Wiki

├── command
│   ├── application
│   │   ├── controller
│   │   │   └── SampleController.java
│   │   ├── dto
│   │   │   ├── SampleModifyDTO.java
│   │   │   └── SampleRegistDTO.java
│   │   └── service
│   │       └── SampleCommandService.java
│   ├── domain
│   │   ├── aggregate
│   │   │   └── entity
│   │   │       └── Sample.java
│   │   ├── repository
│   │   │   └── SampleRepository.java
│   │   └── service
│   │       └── SampleCommandServiceImpl.java
│   └── infrastructure
│       └── service
│           └── SampleService.java
├── common
│   ├── exception
│   │   ├── SampleCommonException.java
│   │   ├── SampleErrorCode.java
│   │   └── SampleExceptionResponse.java
│   └── response
│       └── SampleResponseMessage.java
└── query
    ├── controller
    │   └── SampleController.java
    ├── dto
    │   ├── SampleDTO.java
    │   └── SampleExcelDownload.java
    ├── repository
    │   └── SampleMapper.java
    └── service
        ├── SampleQueryService.java
        └── SampleQueryServiceImpl.java