mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-10 17:52:44 +08:00
22 lines
315 B
Go
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
|
|
}
|