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.
15 lines
409 B
15 lines
409 B
package model
|
|
|
|
import "pure/global"
|
|
|
|
type User struct {
|
|
global.MG_MODEL
|
|
UserID string `gorm:"type:varchar(255);comment:用户id" json:"user_id"`
|
|
JmFile string `gorm:"type:varchar(255)" json:"jm_file"`
|
|
ZwFile string `gorm:"type:varchar(255)" json:"zw_file"`
|
|
FeatureCode string `gorm:"type:text;comment:特征码" json:"feature_code"`
|
|
}
|
|
|
|
func (u *User) TableName() string {
|
|
return "user"
|
|
}
|
|
|