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:
@@ -93,6 +93,13 @@ type ExpenseDepreciationQuery struct {
|
||||
LocationIDs []int64 `query:"-"`
|
||||
}
|
||||
|
||||
type ExpenseDepreciationV2Query struct {
|
||||
Limit int `query:"limit" validate:"omitempty,min=1,max=90"`
|
||||
Period string `query:"period" validate:"required,datetime=2006-01-02"`
|
||||
LocationID int64 `query:"location_id" validate:"required,gt=0"`
|
||||
ProjectFlockID int64 `query:"project_flock_id" validate:"required,gt=0"`
|
||||
}
|
||||
|
||||
type ExpenseDepreciationManualInputUpsert struct {
|
||||
ProjectFlockID uint `json:"project_flock_id" validate:"required,gt=0"`
|
||||
TotalCost float64 `json:"total_cost" validate:"required,gte=0"`
|
||||
|
||||
Reference in New Issue
Block a user