SmartMurphytt/chainmaker_go/model/user.go

15 lines
278 B
Go

package model
import (
"gorm.io/gorm"
)
type User struct {
gorm.Model
User_id string `gorm:"size:255;not null"`
Password string `gorm:"size:255;not null"`
Org_info string `gorm:"size:255;not null"`
Pub_key string `gorm:"not null"`
Pri_key string `gorm:"not null"`
}