Files
SaveAny-Bot/model/model.go
2024-10-12 12:47:33 +08:00

22 lines
315 B
Go

package model
import (
"gorm.io/gorm"
)
type ReceivedFile struct {
gorm.Model
Processing bool
FileName string
ChatID int64
MessageID int32
ReplyMessageID int32
}
type User struct {
gorm.Model
UserID int64 `gorm:"uniqueIndex"`
Silent bool
DefaultStorage string
}