You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
465 B
29 lines
465 B
package models |
|
|
|
import ( |
|
"time" |
|
|
|
"gorm.io/gorm" |
|
) |
|
|
|
type Post struct { |
|
gorm.Model |
|
Nik string |
|
Name string |
|
Photo string |
|
Birthdate time.Time |
|
JobTitle string |
|
Email string `gorm:"unique"` |
|
LastLoginAt time.Time |
|
CreatedBy string |
|
UpdatedBy string |
|
DeletedBy string |
|
Token string |
|
Username string |
|
RoleID int |
|
Password string |
|
Gender string |
|
Address string |
|
Tempat string |
|
TLahir string |
|
}
|
|
|