12 lines
195 B
Go
12 lines
195 B
Go
package user
|
|
|
|
type LinkUserPerm struct {
|
|
UserId uint64 `json:"user_id"`
|
|
PermId uint64 `json:"perm_id"`
|
|
}
|
|
|
|
type ExtendUserPerm struct {
|
|
User User `xorm:"extends"`
|
|
Perm Perm `xorm:"extends"`
|
|
}
|