22 lines
943 B
Go
Executable File
22 lines
943 B
Go
Executable File
package signrecordmod
|
|
|
|
import (
|
|
"time"
|
|
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
)
|
|
|
|
// SignRecordInfo 移动端返回内容
|
|
type SignRecordInfo struct {
|
|
ID primitive.ObjectID `json:"id"` // 文档id
|
|
PID primitive.ObjectID `json:"pid"` // 白嫖卡ID
|
|
UID uint64 `json:"uid"` // 用户ID
|
|
TotalDays int64 `json:"totalDays"` // 总打卡天数
|
|
CurrentSignDays int64 `json:"currentSignDays"` // 连续打卡天数
|
|
ForgetSignDays int64 `json:"forgetSignDays"` // 忘记打卡天数
|
|
RenewalSignDays int64 `json:"renewalSignDays"` // 补签打卡天数
|
|
SignTime time.Time `json:"signTime"` // 打卡时间
|
|
CreatedAt time.Time `json:"createdAt"` // 创建时间
|
|
UpdateTime time.Time `json:"updateTime"` // 更新时间
|
|
}
|