mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
【更新】更新结构
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/base/model"
|
||||
import "github.com/XM-GO/PandaKit/model"
|
||||
|
||||
type SysApi struct {
|
||||
model.BaseAutoModel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/base/model"
|
||||
import "github.com/XM-GO/PandaKit/model"
|
||||
|
||||
type SysConfig struct {
|
||||
ConfigId int64 `json:"configId" gorm:"primaryKey;AUTO_INCREMENT;comment:主键编码"`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/base/model"
|
||||
import "github.com/XM-GO/PandaKit/model"
|
||||
|
||||
type SysDept struct {
|
||||
DeptId int64 `json:"deptId" gorm:"primary_key;AUTO_INCREMENT"` //部门编码
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/base/model"
|
||||
import "github.com/XM-GO/PandaKit/model"
|
||||
|
||||
type SysDictData struct {
|
||||
DictCode int64 `json:"dictCode" gorm:"primary_key;AUTO_INCREMENT"`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/base/model"
|
||||
import "github.com/XM-GO/PandaKit/model"
|
||||
|
||||
type SysMenu struct {
|
||||
MenuId int64 `json:"menuId" gorm:"primary_key;AUTO_INCREMENT"`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/base/model"
|
||||
import "github.com/XM-GO/PandaKit/model"
|
||||
|
||||
type SysNotice struct {
|
||||
NoticeId int64 `json:"noticeId" gorm:"primary_key;AUTO_INCREMENT"`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/base/model"
|
||||
import "github.com/XM-GO/PandaKit/model"
|
||||
|
||||
type SysPost struct {
|
||||
PostId int64 `gorm:"primary_key;AUTO_INCREMENT" json:"postId"`
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"pandax/base/casbin"
|
||||
"pandax/base/model"
|
||||
"github.com/XM-GO/PandaKit/casbin"
|
||||
"github.com/XM-GO/PandaKit/model"
|
||||
)
|
||||
|
||||
type SysRole struct {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"pandax/base/model"
|
||||
"github.com/XM-GO/PandaKit/model"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/base/model"
|
||||
import "github.com/XM-GO/PandaKit/model"
|
||||
|
||||
type LoginM struct {
|
||||
Username string `gorm:"type:varchar(64)" json:"username"`
|
||||
|
||||
Reference in New Issue
Block a user