1
This commit is contained in:
parent
33b559e4a5
commit
4b9b875599
12
server/adminserver/model/system/mail.go
Normal file
12
server/adminserver/model/system/mail.go
Normal file
@ -0,0 +1,12 @@
|
||||
package system
|
||||
|
||||
type Mail struct {
|
||||
Idx uint64 `json:"idx"`
|
||||
Username string `gorm:"uniqueIndex;comment:用户登录名" json:"username"`
|
||||
Password string `gorm:"comment:用户登录密码" json:"password"`
|
||||
Roles []string `json:"roles" gorm:"-"'`
|
||||
}
|
||||
|
||||
func (Mail) TableName() string {
|
||||
return "t_mail"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user