Seyora24
1 year ago
4 changed files with 36 additions and 7 deletions
@ -0,0 +1,15 @@
|
||||
package models |
||||
|
||||
import ( |
||||
"time" |
||||
|
||||
"gorm.io/gorm" |
||||
) |
||||
|
||||
type LoginRecord struct { |
||||
gorm.Model |
||||
LoginDate time.Time |
||||
|
||||
UserIDs string `gorm:"type:text"` |
||||
Users []Post `json:"users" gorm:"-"` |
||||
} |
Binary file not shown.
Loading…
Reference in new issue