framework1/app/provider/demo/contract.go

33 lines
567 B
Go

package demo
import (
"database/sql"
"time"
)
// User is gorm model
type UserTwo struct {
ID uint
Name string
Email *string
Age uint8
Birthday *time.Time
MemberNumber sql.NullString
ActivatedAt sql.NullTime
CreatedAt time.Time
UpdatedAt time.Time
}
// User is gorm model
type UserThree struct {
ID uint
Name string
Email *string
Age uint8
Birthday *time.Time
MemberNumber sql.NullString
ActivatedAt sql.NullTime
CreatedAt time.Time
UpdatedAt time.Time
}