diff --git a/src/domain/auth/artists/dtos.py b/src/domain/auth/artists/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/auth/artists/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/auth/producers/dtos.py b/src/domain/auth/producers/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/auth/producers/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/auth/users/dtos.py b/src/domain/auth/users/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/auth/users/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/music/albums/dtos.py b/src/domain/music/albums/dtos.py index e69de29..473e80d 100644 --- a/src/domain/music/albums/dtos.py +++ b/src/domain/music/albums/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/music/beatpacks/dtos.py b/src/domain/music/beatpacks/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/music/beatpacks/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/music/beats/dtos.py b/src/domain/music/beats/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/music/beats/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/music/soundkits/dtos.py b/src/domain/music/soundkits/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/music/soundkits/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/music/squads/dtos.py b/src/domain/music/squads/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/music/squads/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/music/tracks/dtos.py b/src/domain/music/tracks/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/music/tracks/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/social/chats/dtos.py b/src/domain/social/chats/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/social/chats/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/social/comments/dtos.py b/src/domain/social/comments/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/social/comments/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/social/licenses/dtos.py b/src/domain/social/licenses/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/social/licenses/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/social/messages/dtos.py b/src/domain/social/messages/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/social/messages/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/social/notifications/dtos.py b/src/domain/social/notifications/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/social/notifications/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/social/playlists/dtos.py b/src/domain/social/playlists/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/social/playlists/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass diff --git a/src/domain/social/tags/dtos.py b/src/domain/social/tags/dtos.py new file mode 100644 index 0000000..473e80d --- /dev/null +++ b/src/domain/social/tags/dtos.py @@ -0,0 +1,13 @@ +from pydantic import BaseModel, ConfigDict + + +class BaseDTO(BaseModel): + model_config = ConfigDict(extra='ignore', from_attributes=True) + + +class BaseRequestDTO(BaseDTO): + pass + + +class BaseResponseDTO(BaseDTO): + pass