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.

17 lines
767 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package models
import (
"time"
)
type TSyncLog struct {
Id int64 `xorm:"not null pk autoincr comment('主键') INT(11)"`
SyncType string `xorm:"not null comment('比如获取TOKEN,获取数据,上报数据等') VARCHAR(11)"`
Appid string `xorm:"not null comment('接入的应用ID') CHAR(32)"`
ItemCode string `xorm:"not null comment('上报或获取的条目') VARCHAR(255)"`
Parameters string `xorm:"not null comment('发生时的参数配置') VARCHAR(255)"`
HappenTime time.Time `xorm:"not null default 'current_timestamp()' comment('发生时间') DATETIME"`
Success int64 `xorm:"not null comment('是否成功') INT(255)"`
Message string `xorm:"not null comment('相关信息') VARCHAR(255)"`
}