github.com/resonatecoop/user-api@v1.0.0-13.0.20220915120639-05dc9c04014a/model/user_group_member.go (about) 1 package model 2 3 // import ( 4 // "time" 5 6 // uuid "github.com/google/uuid" 7 // ) 8 9 // type UserGroupMember struct { 10 // CreatedAt time.Time `bun:"default:now()"` 11 // UpdatedAt time.Time 12 // UserGroupID uuid.UUID `bun:",pk,type:uuid,notnull"` 13 // MemberID uuid.UUID `bun:",pk,type:uuid,notnull"` 14 // DisplayName string 15 // Tags []uuid.UUID `bun:",type:uuid[]" pg:",array"` 16 // }