initial commit
This commit is contained in:
31
valuation/valuation.go
Normal file
31
valuation/valuation.go
Normal file
@@ -0,0 +1,31 @@
|
||||
package valuation
|
||||
|
||||
type Matrix struct {
|
||||
Version string // Semantic Version of the matrix 5.0.0
|
||||
Target string // Unternehmen oder Gemeinde
|
||||
Subjects [][]Subject
|
||||
}
|
||||
|
||||
type Subject struct {
|
||||
Version string // Semantic Version of the matrix 5.0.0
|
||||
Target string // Unternehmen oder Gemeinde
|
||||
ID string // A1
|
||||
Weight Weight // 1.5
|
||||
Aspects []Aspect // Auflistung der einzelnen Aspekte
|
||||
NegativeAspects []Aspect // Negativaspekte
|
||||
}
|
||||
|
||||
type Aspect struct {
|
||||
Version string // Semantic Version of the matrix 5.0.0
|
||||
Target string // Unternehmen oder Gemeinde
|
||||
ID string // A1.1
|
||||
Weight Weight // 1.5
|
||||
Explanation string // ausführliche Begründung
|
||||
EvaluationStepTitle string // Basislinie
|
||||
Value int // Punkte
|
||||
}
|
||||
|
||||
// Weight is used
|
||||
type Weight struct {
|
||||
w float32 // kann bei float-Problemen umgestellt werden
|
||||
}
|
||||
Reference in New Issue
Block a user