feat: implement system statistics tracking, commit management controllers, and associated database migrations
All checks were successful
Build and Release / release (push) Successful in 1m49s
All checks were successful
Build and Release / release (push) Successful in 1m49s
This commit is contained in:
6
internal/dtos/request/statistic.go
Normal file
6
internal/dtos/request/statistic.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package request
|
||||
|
||||
type SearchStatisticDto struct {
|
||||
StartDate string `query:"start_date" validate:"omitempty,datetime=2006-01-02"`
|
||||
EndDate string `query:"end_date" validate:"omitempty,datetime=2006-01-02"`
|
||||
}
|
||||
@@ -45,3 +45,8 @@ type CreateUserDto struct {
|
||||
DisplayName string `json:"display_name" validate:"required,min=2,max=50"`
|
||||
Roles []string `json:"role_ids" validate:"required,min=1,dive,required,uuid"`
|
||||
}
|
||||
|
||||
type ResetPasswordDto struct {
|
||||
NewPassword string `json:"new_password" validate:"required,min=8,max=64"`
|
||||
IsSendEmail bool `json:"is_send_email"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user