Coverage for app/ddd/application/dto/group/group_output_dto.py: 100%

12 statements  

« prev     ^ index     » next       coverage.py v7.6.10, created at 2025-01-15 01:44 +0000

1 

2 

3from app.core.base import BaseOutputDTO 

4from app.ddd.domain import Group 

5 

6 

7class GetGroupOutputDTO(BaseOutputDTO): 

8 group: Group 

9 

10class CreateGroupOutputDTO(BaseOutputDTO): 

11 group: Group 

12 

13class PatchGroupOutputDTO(BaseOutputDTO): 

14 group: Group 

15 

16class DeleteGroupOutputDTO(BaseOutputDTO): 

17 group_id: str 

18 

19class QueryGroupOutputDTO(BaseOutputDTO): 

20 groups: list[Group]