初始化项目文件

This commit is contained in:
2025-07-11 16:54:11 +08:00
parent 6bffd582a0
commit 39fedaac16
213 changed files with 16944 additions and 0 deletions

19
api_file/model/balance.go Normal file
View File

@ -0,0 +1,19 @@
package model
import "gorm.io/gorm"
type Balances struct {
Username string `json:"username"`
Card string `json:"card"`
Type bool `gorm:"default:false" json:"type"` //1支出型0收入型
Balance float64 `json:"balance"`
gorm.Model
}
type BalanceLogs struct {
Username string
Card string
Date string
Balance float64
gorm.Model
}