refactor🎨:调整管理员和字典相关结构体字段顺序

This commit is contained in:
zhangwenjian committed 2021-06-17 21:10:12 +08:00
1 parent a0b7d9969a
commit 185df737c8
4 files changed
+6 -20

No files matched your search

+2 -3
View File
@@ -5,9 +5,6 @@ import (
)
type SysDictData struct {
models.ControlBy
models.ModelTime
DictCode int `json:"dictCode" gorm:"primaryKey;column:dict_code;autoIncrement;comment:主键编码"`
DictSort int `json:"dictSort" gorm:"size:20;comment:DictSort"`
DictLabel string `json:"dictLabel" gorm:"size:128;comment:DictLabel"`
@@ -19,6 +16,8 @@ type SysDictData struct {
Status string `json:"status" gorm:"size:4;comment:Status"`
Default string `json:"default" gorm:"size:8;comment:Default"`
Remark string `json:"remark" gorm:"size:255;comment:Remark"`
models.ControlBy
models.ModelTime
}
func (SysDictData) TableName() string {