rts-sim-testing-service/db/model/auth_role.gen.go
weizhihong d4a2074aab 【调整生成link接口路径】
【调整权限查询逻辑】
2023-09-01 17:26:04 +08:00

24 lines
676 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
import (
"time"
)
const TableNameAuthRole = "auth_role"
// AuthRole mapped from table <auth_role>
type AuthRole struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键
Name string `gorm:"column:name;comment:角色名字" json:"name"` // 角色名字
CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
}
// TableName AuthRole's table name
func (*AuthRole) TableName() string {
return TableNameAuthRole
}