feat: add invoice-configs management functionality
This commit is contained in:
15
internal/models/requests/invoice_config_request.go
Normal file
15
internal/models/requests/invoice_config_request.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package requests
|
||||
|
||||
type CreateInvoiceConfigRequest struct {
|
||||
Name string `json:"name" binding:"required"`
|
||||
Type string `json:"type" binding:"required"`
|
||||
Description string `json:"description"`
|
||||
IsActive bool `json:"isActive"`
|
||||
}
|
||||
|
||||
type UpdateInvoiceConfigRequest struct {
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Description string `json:"description"`
|
||||
IsActive *bool `json:"isActive"`
|
||||
}
|
||||
Reference in New Issue
Block a user