mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
fix get search keuangan; add bank name to supplier and customer
This commit is contained in:
@@ -8,6 +8,7 @@ type Create struct {
|
||||
Phone string `json:"phone" validate:"required_strict,max=20"`
|
||||
Email string `json:"email" validate:"required_strict,email,max=50"`
|
||||
AccountNumber string `json:"account_number" validate:"required_strict,max=50"`
|
||||
BankName string `json:"bank_name" validate:"required_strict,max=100"`
|
||||
}
|
||||
|
||||
type Update struct {
|
||||
@@ -18,6 +19,7 @@ type Update struct {
|
||||
Phone *string `json:"phone,omitempty" validate:"omitempty,max=20"`
|
||||
Email *string `json:"email,omitempty" validate:"omitempty,max=50"`
|
||||
AccountNumber *string `json:"account_number,omitempty" validate:"omitempty,max=50"`
|
||||
BankName *string `json:"bank_name,omitempty" validate:"omitempty,max=100"`
|
||||
}
|
||||
|
||||
type Query struct {
|
||||
|
||||
Reference in New Issue
Block a user