public DishDao CreateDishDao(DishDaoBean bean) { DishDao beanBack = new DishDao(); beanBack.DishDaoId = bean.DishDaoId; beanBack.DishId = bean.DishId; beanBack.Name = bean.Name; 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.OptionalNumber = bean.OptionalNumber; return(beanBack); }
public DishDao CreateDishDao(DishDaoBean bean) { DishDao beanBack = new DishDao(); beanBack.DishDaoId = bean.DishDaoId; beanBack.DishId = bean.DishId; beanBack.Name = bean.Name; 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.OptionalNumber = bean.OptionalNumber; return beanBack; }