rts-sim-testing-service/db/model/auth_role_user.gen.go
2023-08-30 09:28:21 +08:00

20 lines
688 B
Go

// 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 TableNameAuthRoleUser = "auth_role_user"
// AuthRoleUser mapped from table <auth_role_user>
type AuthRoleUser struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键
Rid int32 `gorm:"column:rid;comment:角色ID" json:"rid"` // 角色ID
UID int32 `gorm:"column:uid;comment:用户ID" json:"uid"` // 用户ID
}
// TableName AuthRoleUser's table name
func (*AuthRoleUser) TableName() string {
return TableNameAuthRoleUser
}