mirror of
https://github.com/chaitin/SafeLine.git
synced 2026-02-05 00:04:48 +08:00
12 lines
453 B
Go
12 lines
453 B
Go
package model
|
|
|
|
import "time"
|
|
|
|
type SystemStatistics struct {
|
|
ID uint `json:"id" gorm:"primarykey"`
|
|
Type string `json:"type" gorm:"index;uniqueIndex:type_website_createdat"`
|
|
Value int64 `json:"value"`
|
|
CreatedAt time.Time `json:"created_at" gorm:"index;uniqueIndex:type_website_createdat"`
|
|
Website string `json:"website" gorm:"index;uniqueIndex:type_website_createdat"`
|
|
}
|