public DishPrice CreateDishPrice(DishPriceBean bean) { DishPrice beanBack = new DishPrice(); beanBack.Id = bean.Id; beanBack.DishId = bean.DishId; beanBack.DishSpecification = bean.DishSpecification; beanBack.Price1 = bean.Price1; beanBack.Price2 = bean.Price2; beanBack.Price3 = bean.Price3; beanBack.MemberPrice3 = bean.MemberPrice3; beanBack.MemberPrice2 = bean.MemberPrice2; beanBack.MemberPrice1 = bean.MemberPrice1; beanBack.IsMainPrice = bean.IsMainPrice; beanBack.Dish = bean.Dish; return(beanBack); }
public DishPrice CreateDishPrice(DishPriceBean bean) { DishPrice beanBack = new DishPrice(); beanBack.Id = bean.Id; beanBack.DishId = bean.DishId; beanBack.DishSpecification = bean.DishSpecification; beanBack.Price1 = bean.Price1; beanBack.Price2 = bean.Price2; beanBack.Price3 = bean.Price3; beanBack.MemberPrice3 = bean.MemberPrice3; beanBack.MemberPrice2 = bean.MemberPrice2; beanBack.MemberPrice1 = bean.MemberPrice1; beanBack.IsMainPrice = bean.IsMainPrice; beanBack.Dish = bean.Dish; return beanBack; }