|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- using BPA.KitChen.GroupMealOrder.Application.BaseDto;
- using BPA.KitChen.GroupMealOrder.Core.Common.Const;
- using BPA.KitChen.GroupMealOrder.Core.Entity;
- using Furion;
- using SqlSugar;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPA.KitChen.GroupMealOrder.Application.Service.WeighOrder.Dtos
- {
-
-
- /// <summary>
- ///
- /// </summary>
- public class WeighOrderDto: BPA_WeighOrder
- {
- /// <summary>
- /// 商品信息
- /// </summary>
- public List<WeighOrderGoodsDto> GoodsInfo { get; set; }
-
- /// <summary>
- /// 餐盘信息
- /// </summary>
- public List<WeighOrderDiningPlateDto> DiningPlateInfo { get; set; }
-
- /// <summary>
- /// 会员信息
- /// </summary>
- public MemberInfoDto MemberInfo { get; set; }
- }
-
- public class WeighOrderGoodsDto
- {
- /// <summary>
- /// 主键 Guid
- /// </summary>
- public string Id { get; set; } = Guid.NewGuid().ToString();
-
-
- public string GroupId { get; set; } = App.User?.FindFirst(ClaimConst.GroupId)?.Value;
-
- /// <summary>
- /// 订单id
- /// </summary>
- public string OrderId { get; set; }
-
-
- /// <summary>
- /// 商品名称
- /// </summary>
- public string GoodsId { get; set; }
-
-
- /// <summary>
- /// 商品名称
- /// </summary>
- public string GoodsName { get; set; }
-
- public decimal TotalAmount { get; set; }
-
-
- /// <summary>
- /// 商品商品重量
- /// </summary>
- public decimal GoodsWeight { get; set; }
-
- /// <summary>
- /// 商品属性
- /// </summary>
- public List<GoogsAttribute>? GoodsAttribute { get; set; }
- }
- public class WeighOrderDiningPlateDto
- {
- /// <summary>
- /// 订单编号
- /// </summary>
- public string OrderId { get; set; }
-
- public string DiningPlateId { get; set; }
-
- public string QRCode { get; set; }
-
- public string ChipCode { get; set; }
- }
-
- public class MemberInfoDto
- {
-
- /// <summary>
- /// 是否会员
- /// </summary>
- public bool IsMember { get; set; }
-
- /// <summary>
- /// 会员名称
- /// </summary>
- public string Name { get; set; }
- }
-
-
-
- public class GoogsAttribute
- {
- public string AttributeId { get; set; }
-
- public string AttributeName { get; set; }
-
- }
-
-
- public class GetWeighOrderByOrderIdInputDto
- {
- /// <summary>
- /// orderId
- /// </summary>
- public string OrderId { get; set; }
-
-
- }
-
- public class GetWeighOrderByChipCodeInputDto
- {
- /// <summary>
- /// 芯片码
- /// </summary>
- public string ChipCode { get; set; }
-
-
- }
-
-
-
-
- public class WeighOrderCreteDto
- {
-
-
- /// <summary>
- /// 创建人(会员Id)
- /// </summary>
- public string CreateId { get; set; }
-
- public string QRCode { get; set; }
-
- }
-
- public class WeighOrderGoodsCreateDto
- {
-
-
- /// <summary>
- /// 商品名称
- /// </summary>
- public string GoodsId { get; set; }
-
-
- /// <summary>
- /// 商品名称
- /// </summary>
- public string GoodsName { get; set; }
-
- /// <summary>
- /// 商品商品重量
- /// </summary>
- public decimal GoodsWeight { get; set; }
-
- public string OrderId { get; set; }
- }
-
- public class WeighOrderDiningPlateCreateDto
- {
- /// <summary>
- /// 订单编号
- /// </summary>
- public string OrderId { get; set; }
-
- public string DiningPlateId { get; set; }
-
- /// <summary>
- /// 二维码
- /// </summary>
- public string QRCode { get; set; }
-
- /// <summary>
- /// 芯片码
- /// </summary>
- public string ChipCode { get; set; }
- }
-
-
- public class WeighOrderUpdateDto
- {
- public string OrderId { get; set; }
-
- public int PayStates { get; set; }
-
- public int States { get; set; }
- }
-
-
- public class GetWeighOrderPageByOpenIdInputDto: PageInputBase
- {
- public string OpenId { get; set; }
- }
-
- public class GetWeighOrderByOpenIdInputDto
- {
- public string OpenId { get; set; }
- }
-
- public class GetGoodsListInputDto : PageInputBase
- {
- public int? states { get; set; }
- public int? payStates { get; set; }
- }
-
- }
|