【更新】更新结构

This commit is contained in:
PandaGoAdmin
2022-08-02 17:46:19 +08:00
parent 0555922a90
commit 915e20b044
150 changed files with 200 additions and 4884 deletions

View File

@@ -1,6 +1,6 @@
package entity
import "pandax/base/model"
import "github.com/XM-GO/PandaKit/model"
type SysApi struct {
model.BaseAutoModel

View File

@@ -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:主键编码"`

View File

@@ -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"` //部门编码

View File

@@ -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"`

View File

@@ -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"`

View File

@@ -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"`

View File

@@ -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"`

View File

@@ -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 {

View File

@@ -1,7 +1,7 @@
package entity
import (
"pandax/base/model"
"github.com/XM-GO/PandaKit/model"
"time"
)

View File

@@ -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"`