Files
pocket-id-pocket-id-2/backend/internal/dto/custom_claim_dto.go

12 lines
241 B
Go
Raw Normal View History

2024-10-28 18:11:54 +01:00
package dto
type CustomClaimDto struct {
Key string `json:"key"`
Value string `json:"value"`
2024-10-28 18:11:54 +01:00
}
type CustomClaimCreateDto struct {
Key string `json:"key" binding:"required,claimKey"`
Value string `json:"value" binding:"required"`
}