package mysql

import (
	"hyapp/services/wallet-service/internal/domain/ledger"
)

type vipActivationCommand struct {
	AppCode        string
	CommandID      string
	UserID         int64
	Source         string
	Reason         string
	OperatorUserID int64
	TransactionID  string
	RecordID       string
	Level          ledger.VipLevel
	Current        ledger.UserVip
	Program        ledger.VipProgramConfig
	ExpiryPolicy   string
	NowMS          int64
}

type vipActivationResult struct {
	VIP                 ledger.UserVip
	PreviousLevel       int32
	PreviousExpiresAtMS int64
	ExpiryPolicy        string
	Action              string
	ResourceGrantID     string
	RewardItems         []ledger.VipRewardItem
}

type vipRewardGrantCommand struct {
	AppCode        string
	CommandID      string
	UserID         int64
	Source         string
	Reason         string
	OperatorUserID int64
}
