using BPA.KitChen.GroupMealOrder.Core.Enum; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPA.KitChen.GroupMealOrder.Application.Service.Order.Dtos { public class NormalNewOrderDto: NewOrderBasicDto { /// /// 实际金额 /// public decimal RealMoney { get; set; } = 0; /// /// 优惠券金额 /// public decimal CouponPrice { get; set; } = 0; /// /// 用户领取优惠券Id /// public string CouponCustomerId { get; set; } = string.Empty; /// /// 活动折扣金额 /// public decimal DisCountPrice { get; set; } = 0; /// /// 会员优惠金额 /// public decimal VipCountPrice { get; set; } = 0; /// /// 支付渠道 /// public PayModelEnum PayMode { get; set; } = PayModelEnum.WeiXin; /// /// 订单类型 /// public OrderTypeEnum SubOrderType { get; set; } = OrderTypeEnum.Normal; /// /// 通知地址 /// public string NotifyUrl { get; set; } /// /// 桌号 /// public int DeskCode { get; set; } /// /// 就餐方式 /// /// public EatTypeEnum EatType { get; set; } /// /// 小票备注 /// public string PrintRemark { get; set; } /// /// 店铺Id /// public string StoreId { get; set; } /// /// 冒菜用户选购信息 /// public List MCInfo { get; set; } } public class NewOrderBasicDto { /// /// 订单号 /// public string OrderNumber { get; set; } /// /// 客户Id /// public string UserId { get; set; } /// /// 子订单信息 /// public List SubOrderInfo { get; set; } /// /// 加购商品信息 /// public List AddFoodInfo { get; set; } /// /// 特价子商品 /// public List DisCountSubOrder { get; set; } } public class NewOrderBasicPriceDto { /// /// 价格 /// public decimal Price { get; set; } /// /// 商品Id /// public string GoodId { get; set; } } public class NewOrderSubOrderInfoDto { /// /// 商品Id /// public string FoodMenuId { get; set; } /// /// 做法名称 /// public string MakeName { get; set; } /// /// 做法ID /// public string MakeId { get; set; } /// /// 是否设备 /// public int IsDevice { get; set; } /// /// 是否赠送 /// public bool IsGift { get; set; } = false; } public class NewOrderMCDto { /// /// 子订单菜品Id /// public string SubGoodId { get; set; } /// /// 冒菜配料Id /// public string McId { get; set; } /// /// 数量 /// public int Count { get; set; } } }