mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
feat: reimplement with plan hppv2 flow and logics
This commit is contained in:
@@ -75,6 +75,11 @@ type HppPerKandangQuery struct {
|
||||
WeightMax *float64 `query:"-"`
|
||||
}
|
||||
|
||||
type HppV2BreakdownQuery struct {
|
||||
ProjectFlockKandangID uint `query:"project_flock_kandang_id" validate:"required,gt=0"`
|
||||
Period string `query:"period" validate:"required,datetime=2006-01-02"`
|
||||
}
|
||||
|
||||
type ExpenseDepreciationQuery struct {
|
||||
Page int `query:"page" validate:"omitempty,min=1,gt=0"`
|
||||
Limit int `query:"limit" validate:"omitempty,min=1,max=1000,gt=0"`
|
||||
|
||||
Reference in New Issue
Block a user