Files
mir_server/sdk/commonLib/def/ActivityDb.h
aixianling 5c9f1dae4a init
2025-01-09 17:45:40 +08:00

42 lines
871 B
C
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.

#pragma once
struct CMiniDateTime;
#pragma pack (push, 4)
struct GlobalActivityData
{
int nId; // 活动ID
int nActivityType; // 活动类型
int nTimeType; // 时间类型
CMiniDateTime nStartTime; // 开始时间
CMiniDateTime nEndTime; // 结束时间
bool nNextTime; //下一阶段时间
GlobalActivityData()
{
memset(this, 0 ,sizeof(*this));
}
};
struct PersonActivtyData
{
int nId; // 活动ID
int nActivityType; // 活动类型
int nTimeType; // 时间类型
CMiniDateTime nStartTime; // 到期时间
CMiniDateTime nExpiredTime; // 到期时间如果为0说明已经结束
bool nNextTime; //下一阶段时间
PersonActivtyData()
{
memset(this, 0 ,sizeof(*this));
}
};
struct PersonStopedActivity
{
int nId; // 活动ID
int nActivityType; // 活动类型
};
#pragma pack(pop)