任务三

This commit is contained in:
Yvan
2026-01-07 11:39:23 +08:00
parent b63a296144
commit 259f91c549
64 changed files with 14396 additions and 26 deletions
@@ -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
}