Add id field to DbCard in types package
This commit is contained in:
parent
5a830c9bef
commit
c61d0337b3
|
@ -21,6 +21,7 @@ type ErrorResponse struct {
|
|||
}
|
||||
|
||||
type DbCard struct {
|
||||
ID uint `json:"id" example:"1"`
|
||||
Name string `json:"name" example:"CreditCard"`
|
||||
Value uint64 `json:"value" example:"1000"`
|
||||
HaveCreditLine bool `json:"have_credit_line" example:"true"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user