Add ID field to types.DbType
This commit is contained in:
parent
06bb34c0d7
commit
55ea7409ed
|
@ -61,6 +61,7 @@ type DbIncome struct {
|
|||
}
|
||||
|
||||
type DbType struct {
|
||||
ID uint `json:"id" example:"1"`
|
||||
Name string `json:"name" example:"Medicine"`
|
||||
Comment string `json:"comment" example:""`
|
||||
Color string `json:"color" example:"red"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user