package entity // RoleAuth 角色-权限关联 type RoleAuth struct { AuthId int `orm:"auth_id" json:"authId"` RoleId int `orm:"role_id" json:"roleId"` } // RoleAuthCols 字段常量 var RoleAuthCols = struct { AuthId, RoleId string }{ AuthId: "auth_id", RoleId: "role_id", }