Initial commit
This commit is contained in:
commit
c0cb826917
63 changed files with 2069 additions and 0 deletions
21
internal/application/common/post_result.go
Normal file
21
internal/application/common/post_result.go
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
package common
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
type PostResult struct {
|
||||
Id uuid.UUID
|
||||
UserId uuid.UUID
|
||||
Title string
|
||||
Description string
|
||||
Content string
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
type PostResultList struct {
|
||||
Result []*PostResult
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue