- RESETABLE<double> cash;
- RESETABLE<double> freeMb;
- RESETABLE<double> lastCashAdd;
- RESETABLE<time_t> lastCashAddTime;
- RESETABLE<time_t> passiveTime;
- RESETABLE<time_t> lastActivityTime;
- DIR_TRAFF_RES sessionUp;
- DIR_TRAFF_RES sessionDown;
- DIR_TRAFF_RES monthUp;
- DIR_TRAFF_RES monthDown;
+ UserStatOpt(const UserStatOpt&) = default;
+ UserStatOpt& operator=(const UserStatOpt&) = default;
+ UserStatOpt(UserStatOpt&&) = default;
+ UserStatOpt& operator=(UserStatOpt&&) = default;
+
+ Optional<double> cash;
+ Optional<CashInfo> cashAdd;
+ Optional<CashInfo> cashSet;
+ Optional<double> freeMb;
+ Optional<double> lastCashAdd;
+ Optional<time_t> lastCashAddTime;
+ Optional<time_t> passiveTime;
+ Optional<time_t> lastActivityTime;
+ DirTraffOpt sessionUp;
+ DirTraffOpt sessionDown;
+ DirTraffOpt monthUp;
+ DirTraffOpt monthDown;