Files
web_ylsa/api_file/model/balance.go
2025-07-11 16:54:11 +08:00

20 lines
373 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
}