master
huanghai 5 years ago
parent 983a1a9dff
commit fb33c72f3c

@ -0,0 +1,14 @@
package models
type TAppBase struct {
AppId string `xorm:"not null pk comment('系统ID') CHAR(36)"`
AppCode string `xorm:"not null comment('系统编码') VARCHAR(50)"`
AppName string `xorm:"not null comment('系统名称') VARCHAR(100)"`
AccessKey string `xorm:"not null comment('AK') CHAR(20)"`
SecretKey string `xorm:"not null comment('SK') CHAR(26)"`
AppUrl string `xorm:"default 'NULL' comment('系统集成页面调用地址') VARCHAR(1024)"`
AppIcon string `xorm:"default 'NULL' comment('系统图标的路径') VARCHAR(1024)"`
RedirectUri string `xorm:"default 'NULL' comment('统一认证回调地址') VARCHAR(1024)"`
LogoutUri string `xorm:"default 'NULL' comment('统一认证登出地址') VARCHAR(1024)"`
BUse int32 `xorm:"not null comment('是否可用 -2不可用 1可用') TINYINT(1)"`
}

@ -0,0 +1,6 @@
package models
type TAppIdentity struct {
AppId string `xorm:"not null pk comment('系统ID') index CHAR(36)"`
IdentityId int32 `xorm:"not null pk comment('身份ID') INT(11)"`
}

@ -0,0 +1,6 @@
package models
type TAppPosition struct {
AppId string `xorm:"not null pk comment('系统ID') index CHAR(36)"`
PositionId string `xorm:"not null pk comment('职务ID,所有职务可用:-1') CHAR(36)"`
}

@ -0,0 +1,6 @@
package models
type TAppRange struct {
AppId string `xorm:"not null pk comment('系统ID') CHAR(36)"`
RangeCode string `xorm:"not null pk comment('行政区划码或单位ID') VARCHAR(36)"`
}

@ -0,0 +1,6 @@
package models
type TAppStage struct {
AppId string `xorm:"not null pk comment('系统ID') index CHAR(36)"`
StageId int32 `xorm:"not null pk comment('学段ID,所有学段可用:-1') INT(11)"`
}
Loading…
Cancel
Save