Files
olons_admin/server/internal/model/entity/task_submission.go
T
2026-10-10 20:56:17 +08:00

39 lines
3.3 KiB
Go

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/os/gtime"
)
// TaskSubmission is the golang structure for table task_submission.
type TaskSubmission struct {
Id uint64 `json:"id" orm:"id" description:"主键"`
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:"租户ID"`
SubmissionNo string `json:"submissionNo" orm:"submission_no" description:"提交编号"`
TradeOrderId uint64 `json:"tradeOrderId" orm:"trade_order_id" description:"交易订单ID"`
TaskId uint64 `json:"taskId" orm:"task_id" description:"任务ID"`
MemberId uint64 `json:"memberId" orm:"member_id" description:"会员ID"`
MemberLevelId uint64 `json:"memberLevelId" orm:"member_level_id" description:"提交时等级ID"`
EvidenceText string `json:"evidenceText" orm:"evidence_text" description:"证据说明"`
EvidenceAttachmentIds *gjson.Json `json:"evidenceAttachmentIds" orm:"evidence_attachment_ids" description:"证据附件"`
SubmissionStatus int `json:"submissionStatus" orm:"submission_status" description:"1待审 2通过 3驳回 4已结算 5已冲正"`
CommissionAmount int64 `json:"commissionAmount" orm:"commission_amount" description:"佣金快照(分)"`
SuccessRate uint `json:"successRate" orm:"success_rate" description:"成功率万分比"`
ReviewedBy uint64 `json:"reviewedBy" orm:"reviewed_by" description:"审核人"`
ReviewedAt *gtime.Time `json:"reviewedAt" orm:"reviewed_at" description:"审核时间"`
ReviewReasonCode string `json:"reviewReasonCode" orm:"review_reason_code" description:"标准原因"`
ReviewReason string `json:"reviewReason" orm:"review_reason" description:"审核意见"`
AllowResubmit int `json:"allowResubmit" orm:"allow_resubmit" description:"是否允许重提"`
LedgerId uint64 `json:"ledgerId" orm:"ledger_id" description:"佣金台账ID"`
SettledAt *gtime.Time `json:"settledAt" orm:"settled_at" description:"结算时间"`
ReversalApprovalId uint64 `json:"reversalApprovalId" orm:"reversal_approval_id" description:"冲正审批ID"`
CreatedBy uint64 `json:"createdBy" orm:"created_by" description:"创建者"`
UpdatedBy uint64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
}