Cleanup the dto models
This commit is contained in:
13
internal/web/dto/adminDash.go
Normal file
13
internal/web/dto/adminDash.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package dto
|
||||
|
||||
type ApproveMediaInput struct {
|
||||
MediaId string `json:"mediaId" binding:"required"`
|
||||
}
|
||||
|
||||
type LoginInput struct {
|
||||
Password string `json:"password" binding:"required"`
|
||||
}
|
||||
|
||||
type RejectMediaInput struct {
|
||||
MediaId string `json:"mediaId" binding:"required"`
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
package dto
|
||||
|
||||
type ApproveMediaInput struct {
|
||||
MediaId string `json:"mediaId" binding:"required"`
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
package dto
|
||||
|
||||
type LoginInput struct {
|
||||
Password string `json:"password" binding:"required"`
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
package dto
|
||||
|
||||
type RejectMediaInput struct {
|
||||
MediaId string `json:"mediaId" binding:"required"`
|
||||
}
|
Reference in New Issue
Block a user