enum.go 1.11 KB
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
package property_e

import "git.hilo.cn/hilo-common/resource/mysql"

type UserPropertyUsing = mysql.Type

const (
	YesUsing UserPropertyUsing = 1
	NoUsing  UserPropertyUsing = 0
)

type UserPropertyLogOrginType = mysql.Type

const (
	//活动奖励
	ActivityBillboardReward UserPropertyLogOrginType = 1
	//
	Operational UserPropertyLogOrginType = 2
	//群组活动
	ActivityGroupBillboardReward UserPropertyLogOrginType = 3
	//赠送
	Send UserPropertyLogOrginType = 4
	//火箭游戏
	Rocket UserPropertyLogOrginType = 5
	//活动阀值触发奖励
	ActivityBillboardTrigger UserPropertyLogOrginType = 6
	//首次充值奖励
	ActivityRechargeFirst UserPropertyLogOrginType = 7
	Give                  UserPropertyLogOrginType = 8
	GeneralActivity       UserPropertyLogOrginType = 9 // 一般性活动
)

type UserPropertyLogType mysql.Type

const (
	AddSecond     UserPropertyLogType = 1
	UpdateEndTime UserPropertyLogType = 2
	Del           UserPropertyLogType = 3
)

type PropertyType = uint16

const (
	TypeNoble     PropertyType = 1
	TypeMedal     PropertyType = 2
	TypeHeaddress PropertyType = 3
	TypeRide      PropertyType = 4
)