mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-14 15:22:18 +00:00
18 lines
416 B
Go
18 lines
416 B
Go
package dto
|
|
|
|
type PublicAppConfigVariableDto struct {
|
|
Key string `json:"key"`
|
|
Type string `json:"type"`
|
|
Value string `json:"value"`
|
|
}
|
|
|
|
type AppConfigVariableDto struct {
|
|
PublicAppConfigVariableDto
|
|
IsPublic bool `json:"isPublic"`
|
|
}
|
|
|
|
type AppConfigUpdateDto struct {
|
|
AppName string `json:"appName" binding:"required,min=1,max=30"`
|
|
SessionDuration string `json:"sessionDuration" binding:"required"`
|
|
}
|