复制项目
This commit is contained in:
18
pkg/common/xlsx/model/user.go
Normal file
18
pkg/common/xlsx/model/user.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package model
|
||||
|
||||
type User struct {
|
||||
UserID string `column:"user_id"`
|
||||
Nickname string `column:"nickname"`
|
||||
FaceURL string `column:"face_url"`
|
||||
Birth string `column:"birth"`
|
||||
Gender string `column:"gender"`
|
||||
AreaCode string `column:"area_code"`
|
||||
PhoneNumber string `column:"phone_number"`
|
||||
Email string `column:"email"`
|
||||
Account string `column:"account"`
|
||||
Password string `column:"password"`
|
||||
}
|
||||
|
||||
func (User) SheetName() string {
|
||||
return "user"
|
||||
}
|
||||
Reference in New Issue
Block a user