github.com/litesolutions/justifay-api@v1.0.0-2.0.20220707114139-46f28a909481/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  // }