initial commit
This commit is contained in:
24
internal/domain/feedback/feedback.go
Normal file
24
internal/domain/feedback/feedback.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package feedback
|
||||
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
//go:generate stringer -type=Status
|
||||
type Status int
|
||||
|
||||
const (
|
||||
StatusOpen Status = iota
|
||||
StatusClosed
|
||||
StatusPending
|
||||
StatusDeleted
|
||||
)
|
||||
|
||||
type Feedback struct {
|
||||
ID uuid.UUID
|
||||
UserID uuid.UUID
|
||||
Title string
|
||||
Description string
|
||||
Status Status
|
||||
Category string
|
||||
}
|
||||
Reference in New Issue
Block a user