Add id field to DbCard in types package

This commit is contained in:
qowevisa 2024-08-03 09:53:22 +03:00
parent 5a830c9bef
commit c61d0337b3

View File

@ -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"`