add parsing sumpays
All checks were successful
Build and push image / deploy (push) Successful in 1m44s
All checks were successful
Build and push image / deploy (push) Successful in 1m44s
This commit is contained in:
21
gorm/digi_good.go
Normal file
21
gorm/digi_good.go
Normal file
@ -0,0 +1,21 @@
|
||||
package gorm
|
||||
|
||||
import "time"
|
||||
|
||||
type DigiGood struct {
|
||||
ID string
|
||||
IDGoods int
|
||||
Name string
|
||||
IDSection int
|
||||
SellerID int
|
||||
Sellerrating float64
|
||||
Sold int
|
||||
Returned int
|
||||
Price float64
|
||||
Sumpay float64
|
||||
CreatedAt time.Time
|
||||
}
|
||||
|
||||
func (DigiGood) TableName() string {
|
||||
return "digi_goods"
|
||||
}
|
Reference in New Issue
Block a user