1 package model 2 3 import ( 4 "time" 5 6 "github.com/google/uuid" 7 ) 8 9 // Message represents all information about a message. TenantID and OrganizationName are the same. 10 // TenantID will be deprecated in favor of the better named OrganizationName 11 type Message struct { 12 ID uuid.UUID 13 Type string 14 FilePath string 15 Payload []byte 16 TenantID string 17 OrganizationName string 18 OrganizationID string 19 SiteID string 20 SiteName string 21 CreatedAt time.Time 22 Signature string 23 } 24