2024-12-05 01:27:49 +00:00
|
|
|
package model
|
|
|
|
|
2024-12-10 06:27:52 +00:00
|
|
|
import "time"
|
|
|
|
|
2024-12-05 01:27:49 +00:00
|
|
|
type Script struct {
|
2024-12-10 06:27:52 +00:00
|
|
|
ID int64 `gorm:"primaryKey"`
|
2024-12-05 01:27:49 +00:00
|
|
|
Hash uint64
|
|
|
|
Source string
|
|
|
|
SubmissionID int64 // which submission did this script first appear in
|
2024-12-10 06:27:52 +00:00
|
|
|
CreatedAt time.Time
|
|
|
|
UpdatedAt time.Time
|
2024-12-05 01:27:49 +00:00
|
|
|
}
|