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/kit/model"
|
||||
import "github.com/PandaXGO/PandaKit/model"
|
||||
|
||||
type SysApi struct {
|
||||
model.BaseAutoModel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/kit/model"
|
||||
import "github.com/PandaXGO/PandaKit/model"
|
||||
|
||||
type SysConfig struct {
|
||||
ConfigId int64 `json:"configId" gorm:"primaryKey;AUTO_INCREMENT;comment:主键编码"`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/kit/model"
|
||||
import "github.com/PandaXGO/PandaKit/model"
|
||||
|
||||
type SysDictData struct {
|
||||
DictCode int64 `json:"dictCode" gorm:"primary_key;AUTO_INCREMENT"`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/kit/model"
|
||||
import "github.com/PandaXGO/PandaKit/model"
|
||||
|
||||
type SysMenu struct {
|
||||
MenuId int64 `json:"menuId" gorm:"primary_key;AUTO_INCREMENT"`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/kit/model"
|
||||
import "github.com/PandaXGO/PandaKit/model"
|
||||
|
||||
type SysNotice struct {
|
||||
NoticeId int64 `json:"noticeId" gorm:"primary_key;AUTO_INCREMENT"`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/kit/model"
|
||||
import "github.com/PandaXGO/PandaKit/model"
|
||||
|
||||
// 组织组织
|
||||
type SysOrganization struct {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/kit/model"
|
||||
import "github.com/PandaXGO/PandaKit/model"
|
||||
|
||||
type SysPost struct {
|
||||
PostId int64 `gorm:"primary_key;AUTO_INCREMENT" json:"postId"`
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"pandax/kit/casbin"
|
||||
"pandax/kit/model"
|
||||
"github.com/PandaXGO/PandaKit/casbin"
|
||||
"github.com/PandaXGO/PandaKit/model"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"pandax/kit/model"
|
||||
"github.com/PandaXGO/PandaKit/model"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package entity
|
||||
|
||||
import "pandax/kit/model"
|
||||
import "github.com/PandaXGO/PandaKit/model"
|
||||
|
||||
type LoginM struct {
|
||||
Username string `gorm:"type:varchar(64)" json:"username"`
|
||||
|
||||
Reference in New Issue
Block a user