Exemplo n.º 1
0
 public MallItemVo(MallItemRulePB mallItemRulePb)
 {
     MallId      = mallItemRulePb.MallId;    //商店
     ItemId      = mallItemRulePb.ItemId;    //道具Id
     MoneyTypePb = mallItemRulePb.MoneyType; // 货币类型
     ItemDesc    = mallItemRulePb.IteamDes;  //道具描述
     UseDesc     = mallItemRulePb.UseDes;    //使用描述
     Num         = mallItemRulePb.Num;       //道具数量
     Price       = mallItemRulePb.Price;     //价格
     MaxNum      = mallItemRulePb.MaxNum;    //每天购买道具次数上限
 }
Exemplo n.º 2
0
        public long EndTime;                  //结束时间

        public GameMallVo(GameMallRulePB gamemallRulePb)
        {
            MallId        = gamemallRulePb.MallId;
            MallType      = gamemallRulePb.MallType;
            MallSortPb    = gamemallRulePb.MallSort;
            MoneyTypePb   = gamemallRulePb.MoneyType;
            MallName      = gamemallRulePb.MallName;
            MallDesc      = gamemallRulePb.MallDesc;
            GiftImage     = gamemallRulePb.GiftImage;
            Slot          = gamemallRulePb.Slot;
            MallLabelPb   = gamemallRulePb.MallLabel;
            LabelImage    = gamemallRulePb.LabelImage;
            RealPrice     = gamemallRulePb.RealPrice;
            OriginalPrice = gamemallRulePb.OriginalPrice;
            BuyMax        = gamemallRulePb.BuyMax;
            Award         = gamemallRulePb.Award;
            Starttime     = gamemallRulePb.StartTime;
            EndTime       = gamemallRulePb.EndTime;
        }