feat[BE]: menambahkan repo expense dan menhapus API API yang tidak akan digunakan di module repport

This commit is contained in:
aguhh18
2025-12-10 13:41:53 +07:00
parent 16d1358b3a
commit 3f9865d267
5 changed files with 65 additions and 138 deletions
@@ -1,13 +1,5 @@
package validation
type Create struct {
Name string `json:"name" validate:"required_strict,min=3"`
}
type Update struct {
Name *string `json:"name,omitempty" validate:"omitempty"`
}
type Query struct {
Page int `query:"page" validate:"omitempty,number,min=1,gt=0"`
Limit int `query:"limit" validate:"omitempty,number,min=1,max=100,gt=0"`