forked from prolicht-dev/avaclient-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel_labour_price_component_dto.go
26 lines (24 loc) · 1.12 KB
/
model_labour_price_component_dto.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
* AVACloud API 1.16.0
*
* AVACloud API specification
*
* API version: 1.16.0
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package avaclient
// LabourPriceComponentDto Based on the PriceComponent, this class is responsible for labour time components.
type LabourPriceComponentDto struct {
// The label associated with this price component. Will be taken from the parent Projects ProjectInformation.
Label string `json:"label,omitempty"`
// The total, calculated price of this component. Will multiply the calculated amount of hours with the ServiceSpecifications hourly wage rate.
Price float32 `json:"price"`
// The cost per hour of manual labor.
HourlyWage float32 `json:"hourlyWage"`
// The single Calculation elements this price component is composed of.
Values []CalculationDto `json:"values,omitempty"`
// Indicates if the ServiceSpecification's standard HourlyWage is to be used or a custom value.
UseOwnHourlyWage bool `json:"useOwnHourlyWage"`
// The total, calculated time of this component. Will return the result rounded to three decimal places.
TotalTime float32 `json:"totalTime"`
}