17 lines
491 B
Go
17 lines
491 B
Go
// codeberg.org/mapleopentech/monorepo/cloud/maplefile-backend/internal/domain/blockedemail/entity.go
|
|
package blockedemail
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/gocql/gocql"
|
|
)
|
|
|
|
// BlockedEmail represents a blocked email entry for a user
|
|
type BlockedEmail struct {
|
|
UserID gocql.UUID `json:"user_id"`
|
|
BlockedEmail string `json:"blocked_email"`
|
|
BlockedUserID gocql.UUID `json:"blocked_user_id"`
|
|
Reason string `json:"reason"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
}
|