github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/internal/domain/integrationsystem/entity.go (about)

     1  package integrationsystem
     2  
     3  // Entity missing godoc
     4  type Entity struct {
     5  	ID          string  `db:"id"`
     6  	Name        string  `db:"name"`
     7  	Description *string `db:"description"`
     8  }
     9  
    10  // Collection missing godoc
    11  type Collection []Entity
    12  
    13  // Len missing godoc
    14  func (c Collection) Len() int {
    15  	return len(c)
    16  }