第 5 阶段:纠纷、通知与后台-1
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user