19 lines
471 B
Go
19 lines
471 B
Go
package systemconfig
|
|
|
|
import "time"
|
|
|
|
type ConfigDTO struct {
|
|
ID uint64 `json:"id"`
|
|
Key string `json:"key"`
|
|
Value string `json:"value"`
|
|
Description string `json:"description"`
|
|
UpdatedBy *uint64 `json:"updated_by"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|
|
|
|
type UpdateRequest struct {
|
|
Value string `json:"value" binding:"required"`
|
|
Description string `json:"description"`
|
|
}
|