mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-06-09 15:07:49 +00:00
create api get depresiasi v2
This commit is contained in:
@@ -40,6 +40,29 @@ type ExpenseDepreciationManualInputRowDTO struct {
|
||||
Note *string `json:"note"`
|
||||
}
|
||||
|
||||
type ExpenseDepreciationV2MetaDTO struct {
|
||||
ProjectFlockID int64 `json:"project_flock_id"`
|
||||
FarmName string `json:"farm_name"`
|
||||
LocationID int64 `json:"location_id"`
|
||||
Period string `json:"period"`
|
||||
Limit int `json:"limit"`
|
||||
TotalDays int `json:"total_days"`
|
||||
}
|
||||
|
||||
type ExpenseDepreciationV2RowDTO struct {
|
||||
Date string `json:"date"`
|
||||
DepreciationPercentEffective float64 `json:"depreciation_percent_effective"`
|
||||
DepreciationValue float64 `json:"depreciation_value"`
|
||||
PulletCostDayNTotal float64 `json:"pullet_cost_day_n_total"`
|
||||
MultiplicationPercentage float64 `json:"multiplication_percentage"`
|
||||
DayN int `json:"day_n"`
|
||||
ChickinDate string `json:"chickin_date"`
|
||||
TotalValuePulletAfterDepreciation float64 `json:"total_value_pullet_after_depreciation"`
|
||||
StandardEffectiveDate string `json:"standard_effective_date,omitempty"`
|
||||
TotalPopulation float64 `json:"total_population"`
|
||||
Components any `json:"components"`
|
||||
}
|
||||
|
||||
func NewExpenseDepreciationFiltersDTO(area, location, projectFlockID, period string) ExpenseDepreciationFiltersDTO {
|
||||
return ExpenseDepreciationFiltersDTO{
|
||||
AreaID: area,
|
||||
|
||||
Reference in New Issue
Block a user