2024-02-28 16:36:53 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
import "gorm.io/gorm"
|
|
|
|
|
2024-02-29 02:20:05 +00:00
|
|
|
func init() {
|
|
|
|
registerModel(&S3Upload{})
|
|
|
|
}
|
|
|
|
|
2024-02-28 16:36:53 +00:00
|
|
|
type S3Upload struct {
|
|
|
|
gorm.Model
|
|
|
|
UploadID string `gorm:"unique;not null"`
|
|
|
|
Bucket string `gorm:"not null"`
|
|
|
|
Key string `gorm:"not null"`
|
|
|
|
}
|