Skip to content

Commit

Permalink
MOD:merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
timidsmile committed Aug 29, 2018
2 parents 5909ca6 + 42e9498 commit 557976f
Show file tree
Hide file tree
Showing 5 changed files with 212 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<<<<<<< HEAD
.DS_Store
static/images/
/dist/
Expand All @@ -13,3 +14,6 @@ yarn-error.log*
*.ntvs*
*.njsproj
*.sln
=======
vendor/
>>>>>>> master
6 changes: 6 additions & 0 deletions .idea/go.imports.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

77 changes: 77 additions & 0 deletions .idea/watcherTasks.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

98 changes: 98 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions model/userBasic.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package model

type User struct {
BasicMdl
UserID string `gorm:"size:32 column:user_id" json:"userID"`
UserName string `gorm:"size:32 column:user_name" json:"userName"`
mobile string `gorm:"size:32" json:"mobile"`
email string `gorm:"size:32" json:"email"`
passwd string `gorm:"size:32" json:"passwd"`
Nickname string `gorm:"size:32" json:"nickname"`
AvatarURL string `gorm:"size:255" json:"avatarURL"`
status int8 `gorm:"size:255" json:"status"`
}

/*
| id | bigint(64) unsigned | NO | PRI | NULL | auto_increment |
| user_id | bigint(20) | NO | MUL | NULL | |
| user_name | varchar(32) | NO | MUL | | |
| mobile | varchar(11) | NO | | | |
| email | varchar(50) | NO | MUL | | |
| passwd | varchar(32) | NO | | | |
| nick_name | varchar(50) | NO | | | |
| avata_url | text | YES | | NULL | |
| create_time | int(10) unsigned | NO | | NULL | |
| update_time | int(10) unsigned | NO | | NULL | |
| status | s
*/

0 comments on commit 557976f

Please sign in to comment.