Exemplo n.º 1
0
 public PromotionsDishDetailBean CreatePromotionsDishDetailBean(PromotionsDishDetail bean)
 {
     this.Id = bean.Id;
     this.PromotionsDishId = bean.PromotionsDishId;
     this.DishId           = bean.DishId;
     this.DishNumber       = bean.DishNumber;
     this.DishFormat       = bean.DishFormat;
     this.CreateDatetime   = bean.CreateDatetime;
     this.CreateBy         = bean.CreateBy;
     this.Deleted          = bean.Deleted;
     this.Status           = bean.Status;
     this.UpdateDatetime   = bean.UpdateDatetime;
     this.UpdateBy         = bean.UpdateBy;
     this.PromotionsDish   = bean.PromotionsDish;
     return(this);
 }
Exemplo n.º 2
0
        public PromotionsDishDetail CreatePromotionsDishDetail(PromotionsDishDetailBean bean)
        {
            PromotionsDishDetail beanBack = new PromotionsDishDetail();

            beanBack.Id = bean.Id;
            beanBack.PromotionsDishId = bean.PromotionsDishId;
            beanBack.DishId           = bean.DishId;
            beanBack.DishNumber       = bean.DishNumber;
            beanBack.DishFormat       = bean.DishFormat;
            beanBack.CreateDatetime   = bean.CreateDatetime;
            beanBack.CreateBy         = bean.CreateBy;
            beanBack.Deleted          = bean.Deleted;
            beanBack.Status           = bean.Status;
            beanBack.UpdateDatetime   = bean.UpdateDatetime;
            beanBack.UpdateBy         = bean.UpdateBy;
            beanBack.PromotionsDish   = bean.PromotionsDish;
            return(beanBack);
        }