exchange_cash_activity.go 1.1 KB
package models

import (
	"time"
)

type ExchangeCashActivity struct {
	TableName string                                     `pg:"exchange_cash_activities,alias:exchange_cash_activity"`
	Id int64                                             `pg:",pk"`  			// 兑换活动ID
	CompanyId int64                                      // 公司ID
	ActivityName string                                  // 兑换活动名称
	Deadline time.Time                                   // 兑换活动结束时间
	CountDown int64                                     // 兑换活动结束倒计时
	ExchangedCash float64                                // 已兑换现金
	ExchangedSuMoney float64                             // 已兑换素币
	ExchangeRate float64                                 // 兑换汇率
	//LastExchangeRate float64                             // 上期活动兑换汇率
	//ExchangeSuMoneyList []*domain.ExchangeCashPersonList `pg:",array"` // 素币兑换人员清单
	//Sponsor *domain.EmployeeInfo                         // 活动发布人
	CreateTime time.Time                                 // 创建时间
}