Files
mtusi2026lab2/service/internal/dto/message.go
T

22 lines
274 B
Go

package dto
import (
"time"
"github.com/google/uuid"
)
type Message struct {
ID uuid.UUID
ChatID uuid.UUID
SenderID uuid.UUID
Text string
CreatedAt time.Time
}
type CreateMessage struct {
ChatID uuid.UUID
SenderID uuid.UUID
Text string
}