forked from mtusi2026/mtusi2026lab3
22 lines
279 B
Go
22 lines
279 B
Go
package domain
|
|
|
|
import "time"
|
|
|
|
type Chat struct {
|
|
ID string
|
|
Title string
|
|
MemberIDs []string
|
|
CreatedAt time.Time
|
|
}
|
|
|
|
type ChatCursor struct {
|
|
CreatedAt time.Time
|
|
ChatID string
|
|
UserID string
|
|
}
|
|
|
|
type ChatPage struct {
|
|
Items []Chat
|
|
NextCursor *string
|
|
}
|