mirror of https://gitee.com/godoos/godoos.git
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.
13 lines
203 B
13 lines
203 B
package model
|
|
|
|
import "gorm.io/gorm"
|
|
|
|
type SysUser struct {
|
|
gorm.Model
|
|
Username string `json:"username"`
|
|
Password string `json:"password"`
|
|
}
|
|
|
|
func (*SysUser) TableName() string {
|
|
return "sys_user"
|
|
}
|
|
|