任务三
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
|
||||
package model
|
||||
|
||||
const TableNameSysUserAuthority = "sys_user_authority"
|
||||
|
||||
// SysUserAuthority mapped from table <sys_user_authority>
|
||||
type SysUserAuthority struct {
|
||||
SysUserID int64 `gorm:"column:sys_user_id;type:bigint(20) unsigned;primaryKey" json:"sys_user_id"`
|
||||
SysAuthorityAuthorityID int64 `gorm:"column:sys_authority_authority_id;type:bigint(20) unsigned;primaryKey;comment:角色ID" json:"sys_authority_authority_id"` // 角色ID
|
||||
}
|
||||
|
||||
// TableName SysUserAuthority's table name
|
||||
func (*SysUserAuthority) TableName() string {
|
||||
return TableNameSysUserAuthority
|
||||
}
|
||||
Reference in New Issue
Block a user