github.com/litesolutions/justifay-api@v1.0.0-2.0.20220707114139-46f28a909481/model/group_type.go (about)

     1  package model
     2  
     3  // GroupType provides the key of the Group
     4  // type GroupID int32
     5  
     6  // const (
     7  // 	// Persona is a representation of a User.  A User can have multiple Personas
     8  // 	Persona GroupID = iota + 1 // 1
     9  
    10  // 	// Band contains one or more Personas
    11  // 	Band // 2
    12  
    13  // 	// Label can have one or more bands
    14  // 	Label // 3
    15  
    16  // 	// Distributor can have one or more Labels
    17  // 	Distributor // 4
    18  // )
    19  
    20  type GroupType struct {
    21  	IDRecord
    22  	Name        string `bun:",notnull"`
    23  	Description string
    24  }