Files
novel_server/internal/model/entity/user_sign_in_logs.go

24 lines
2.0 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// UserSignInLogs is the golang structure for table user_sign_in_logs.
type UserSignInLogs struct {
Id int64 `json:"id" orm:"id" description:"主键"` // 主键
UserId int64 `json:"userId" orm:"user_id" description:"用户ID关联 users 表"` // 用户ID关联 users 表
RuleId int64 `json:"ruleId" orm:"rule_id" description:"规则ID关联 sign_in_reward_rules 表"` // 规则ID关联 sign_in_reward_rules 表
RewardDetailId int64 `json:"rewardDetailId" orm:"reward_detail_id" description:"奖励详情ID关联 sign_in_reward_details 表"` // 奖励详情ID关联 sign_in_reward_details 表
SignInDate *gtime.Time `json:"signInDate" orm:"sign_in_date" description:"签到日期"` // 签到日期
Quantity int `json:"quantity" orm:"quantity" description:"奖励数量,如积分数量或礼包数量"` // 奖励数量,如积分数量或礼包数量
Status int `json:"status" orm:"status" description:"记录状态1=有效0=无效"` // 记录状态1=有效0=无效
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
}