refactor: split backend transport and domain modules
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package dto
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
type AnnouncementRequest struct {
|
||||
ID uint `json:"ID"`
|
||||
Title string `json:"title"`
|
||||
Content string `json:"content"`
|
||||
UserID *uint `json:"userID"`
|
||||
Attachments json.RawMessage `json:"attachments"`
|
||||
}
|
||||
Reference in New Issue
Block a user