Add ID field to types.DbType

This commit is contained in:
qowevisa 2024-10-31 10:07:48 +02:00
parent 06bb34c0d7
commit 55ea7409ed

View File

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