This commit is contained in:
2025-11-12 09:41:52 +03:00
commit 2a8566712a
44 changed files with 2602 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
package project
type Project struct {
ID uint32 `json:"id"`
Name string `json:"name"`
Description *string `json:"description"`
Key string `json:"key"`
}
type CreateProjectDTO struct {
Name string `json:"name" validate:"required"`
Description string `json:"description"`
Key string `json:"key"`
}
type UpdateProjectDTO struct {
Name string `json:"name"`
Description string `json:"description"`
}
type FilterDTO struct {
UserID *uint32 `json:"user_id"`
}