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.
14 lines
522 B
14 lines
522 B
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type TDatashareSubscribe struct {
|
|
IdInt int64 `xorm:"not null pk autoincr INT(11)"`
|
|
Appid string `xorm:"not null comment('订阅者ID') unique(appid) CHAR(32)"`
|
|
PublishAppid string `xorm:"not null comment('发布者APPID') unique(appid) CHAR(32)"`
|
|
ItemId int64 `xorm:"not null comment('发布者的数据项目ID') unique(appid) INT(11)"`
|
|
UpdateTs time.Time `xorm:"not null default 'current_timestamp()' comment('时间戳') TIMESTAMP"`
|
|
}
|