4c5a7af5f5
modified: main_dc/yalarba/api_es/internal/models/base.go modified: main_dc/yalarba/api_es/internal/models/update_history.go fix update history, add json set Base without polymorphicValue create Account object but not finish
14 lines
176 B
Go
14 lines
176 B
Go
package models
|
|
|
|
import (
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
type Account struct {
|
|
Base Base `gorm:"embedded"`
|
|
FirstName string
|
|
LastName string
|
|
Email string
|
|
Password string
|
|
IsAdmin bool
|
|
} |