github.com/alloyzeus/go-azfl@v0.0.0-20231220071816-9740126a2d07/azcore/adjunct_entity.go (about) 1 package azcore 2 3 import "github.com/alloyzeus/go-azfl/azid" 4 5 // An AdjunctEntityID is an identifier of an adjunt-entity. 6 type AdjunctEntityID[IDNumT AdjunctEntityIDNum] interface { 7 azid.ID[IDNumT] 8 9 AZAdjunctEntityID() 10 } 11 12 // AdjunctEntityAttributes abstracts adjunct entity attributes. 13 type AdjunctEntityAttributes interface { 14 Attributes 15 16 AZAdjunctEntityAttributes() 17 } 18 19 type AdjunctEntityIDNumMethods interface { 20 AZAdjunctEntityIDNum() 21 } 22 23 // AdjunctEntityIDNum abstracts adjunct entity IDs. 24 type AdjunctEntityIDNum interface { 25 azid.IDNum 26 27 AdjunctEntityIDNumMethods 28 }