Skip to content

Commit

Permalink
Merge pull request #646 from vselvarajijay/hexagonal
Browse files Browse the repository at this point in the history
+ updates
  • Loading branch information
vselvarajijay committed May 19, 2024
2 parents 4561bb0 + ea137eb commit 5149457
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from pydantic import BaseModel


class AddUserCommand(BaseModel):
name: str
email: str
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from pydantic import BaseModel


class SetUserStatusCommand(BaseModel):
user_id: str
status: str
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ class Organization(BaseModel):
name: str
created_at: str
updated_at: str

class Config:
orm_mode = True
1 change: 1 addition & 0 deletions microservices/akello-account/account/domain/model/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class User(BaseModel):
id: str
name: str
email: str
enabled: bool
created_at: str
updated_at: str

Expand Down
Empty file.
Empty file.

0 comments on commit 5149457

Please sign in to comment.