This commit is contained in:
@@ -20,3 +20,13 @@ type MediaResponse struct {
|
||||
CreatedAt *time.Time `json:"created_at"`
|
||||
UpdatedAt *time.Time `json:"updated_at"`
|
||||
}
|
||||
|
||||
type MediaSimpleResponse struct {
|
||||
ID string `json:"id"`
|
||||
StorageKey string `json:"storage_key"`
|
||||
OriginalName string `json:"original_name"`
|
||||
MimeType string `json:"mime_type"`
|
||||
Size int64 `json:"size"`
|
||||
FileMetadata []byte `json:"file_metadata"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
15
internal/dtos/response/verification.go
Normal file
15
internal/dtos/response/verification.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package response
|
||||
|
||||
import "time"
|
||||
|
||||
type UserVerificationResponse struct {
|
||||
ID string `json:"id"`
|
||||
UserID string `json:"user_id"`
|
||||
VerifyType string `json:"verify_type"`
|
||||
Content string `json:"content"`
|
||||
Status string `json:"status"`
|
||||
ReviewedBy *string `json:"reviewed_by"`
|
||||
ReviewedAt *time.Time `json:"reviewed_at"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
Medias []*MediaSimpleResponse `json:"media"`
|
||||
}
|
||||
Reference in New Issue
Block a user