You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
38 lines
1.2 KiB
package global
|
|
|
|
import (
|
|
"time"
|
|
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
type GVA_MODEL struct {
|
|
ID uint `gorm:"primarykey"` // 主键ID
|
|
CreatedAt time.Time // 创建时间
|
|
UpdatedAt time.Time // 更新时间
|
|
DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` // 删除时间
|
|
}
|
|
|
|
type GAV_USER_CONT struct {
|
|
Id string `json:"id"`
|
|
Number string `json:"number"`
|
|
Key string `json:"key"`
|
|
Name string `json:"name"`
|
|
Positionleveles string `json:"positionleveles"`
|
|
Position string `json:"position"`
|
|
Adminorg string `json:"adminorg"`
|
|
Company string `json:"company"`
|
|
Emptype string `json:"emptype"`
|
|
Deparment string `json:"deparment"`
|
|
Jobclass string `json:"jobclass"`
|
|
Positiongrade string `json:"positiongrade"`
|
|
Role string `json:"role"`
|
|
Icon string `json:"icon"`
|
|
Wechat string `json:"wechat"`
|
|
Jurisdiction string `json:"jurisdiction"`
|
|
Menuoper string `json:"menuoper"`
|
|
Oldgroup string `json:"oldgroup"`
|
|
Olddepartment string `json:"olddepartment"`
|
|
Level string `json:"level"`
|
|
RoleName string `json:"rolename"`
|
|
}
|
|
|