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

     1  package scenarioassignment
     2  
     3  // Entity missing godoc
     4  type Entity struct {
     5  	Scenario       string `db:"scenario"`
     6  	TenantID       string `db:"tenant_id"`
     7  	TargetTenantID string `db:"target_tenant_id"`
     8  }
     9  
    10  // EntityCollection missing godoc
    11  type EntityCollection []Entity
    12  
    13  // Len missing godoc
    14  func (s EntityCollection) Len() int {
    15  	return len(s)
    16  }