/* 各种结构定义 */ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Google.Protobuf.WellKnownTypes; using Sog; namespace bill_statistics { public class Hourly_Statistics { public int year { get; set; } public int month { get; set; } public int day { get; set; } public int hour { get; set; } public int minute { get; set; } public int quantity { get; set; } public Statistics_type type { get; set; } } public enum Statistics_type { register = 0, recharge = 1 } public class UserInfo { public DateTime LonginTime; public DateTime firstLoginTime; //第一次登录详细时间 public DateTime firstLoginBillDate; //第一次登录日志时间 public int Uid { get; set; } public bool IsNew { get; set; } public byte AccType { get; set; } public bool secondDayNotLogin; public bool bGetSignReward; //是否领取签到奖励 public bool IsArenaUser; //是否参加了比赛 public byte GetBrokenGrantTimes;//领取破产补偿次数 public Int64 chip { get; set; } public Int64 diamond { get; set; } public int TotalPayCount; //总支付次数 public string AdjustFullChannel; //渠道|子渠道 public int OnlineTime; //在线时间,秒,累积 public int InviteFBFriendCount; public int ShareFBCount; public int notLoginDayCount; public int[] getBrokeGrantPlayGameCount; //领取破产补助时打了几局,注意有可能是null public int playGameCountTotalAllDay; public int winGameCount; //小局,赢的次数 //第一次玩某个场是第几个小时后 public int[] firstPlayerDeskHour; //注意有可能是null public int[] firstPlayerDeskRound; //注意有可能是null public int GuessCardCount; //猜手牌次数 public int MatchCountTotalAllDay; // 所有比赛次数 public int NormalRoomExRoundCount;//普通增强局数 public int NormalRoomRoundCount;//普通局数 public int RateRoomRoundCount;//翻倍模式局数 public int MatchRoomRoundCount;//比赛模式局数 public int matchCount;//比赛次数 public int iFinishNewbieStep; public int PlayYuXiaXieCount;//鱼虾蟹押注次数 public int playYuXiaXieRuinCount; // 鱼虾蟹破产 public int platform; //ios或andriod public int yuXiaXieCount; // 鱼虾蟹次数 public int InviteSuccessInviteeRewardCount; public int winPercent; // 胜率 千分比 public int bLoseLess10000; /* 6 29- 73特殊需求 */ public int friendCount; public int snsFriendCount; public int playDay; public int horseCount; // 赛马次数 public int PlayHorseCount;//赛马押注次数 public int playHorseRuinCount; // 赛马破产 public UserInfo() { } } public class UserInfoLongKeep { public DateTime firstLoginBillDate; //第一次登录日志时间 public int Uid { get; set; } public bool IsNew { get; set; } public byte AccType { get; set; } public UserInfoLongKeep() { } } public class rechargeInfo { public int Uid { get; set; } public int payMoney; public int bet; public int Rate; public DateTime firstPayTime; public DateTime playAfterFirstTime; // 进入时间 public long chipBeforePay; public int payCount; public string buySomething; public int totalMoney; public rechargeInfo() { } } public class PayGoogleSuccessRes { public int uid; public Int64 diamond; public int money; public int payCount; public DateTime lastPayTime; // 充值后第一场打牌标志 public int PayFirstPlay; public DateTime firstPayTime; public DateTime firstPayEnterTime; public long curchip; public int firstPay; public PlatformType platform; public Dictionary buyItemDic = new Dictionary(); } public class ExchangeCouponDbResInfo { public DateTime dateId; public int uid; public string nick; public int itemid; public long uniqueID; public int phoneCardMoney; public string transactionId; public int status; public int ret; public string trueName; public string phoneNum; public string telcom; public string email; } public class NewFriendInfo { public int buyCardNum; public int playCount; public int costCardNum; public int returnCardNum; } public class NewUserRetentionInfo { //新进用户留存 public int Retention1 { get; set; } public int Retention2 { get; set; } public int Retention3 { get; set; } public int Retention4 { get; set; } public int Retention5 { get; set; } public int Retention6 { get; set; } public int Retention7 { get; set; } public int Retention15 { get; set; } public int Retention30 { get; set; } public int Retention60 { get; set; } public int Retention90 { get; set; } public int Retention120 { get; set; } public int Retention150 { get; set; } public int Retention180 { get; set; } } public class UserChannelInfo : NewUserRetentionInfo { public double PayMoney; //支付金额 public double PayMoneyUSD; //支付金额,美元 public int InstallCount;//安装数量 public int LoginCount; //登录数量 public int NewUserCount; //新用户数量 } public class SendCardInfo { public DateTime dateId; public long Uid; public long Uid2; public int Count; public int ArenaCount; public int RateCount; public int sameIpOnSend; public int sameIpTotal; public int payCount1; public int payCount2; public int bet1; public int bet2; public int bet3; public int bet4; } public class optimizetionResult { public int day; public int push1; public int succ1; public int push2; public int succ2; } }