86 lines
1.9 KiB
C#
86 lines
1.9 KiB
C#
using Newtonsoft.Json;
|
|
using OfficeOpenXml.Attributes;
|
|
using SqlSugar;
|
|
using System;
|
|
|
|
namespace ARW.Model.Vo.Api.Carts
|
|
{
|
|
/// <summary>
|
|
/// 购物车记录展示对象Api
|
|
///
|
|
/// @author lwh
|
|
/// @date 2023-07-20
|
|
/// </summary>
|
|
public class CartVoApi
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 : 店铺Id
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
public int StoreId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :
|
|
/// </summary>
|
|
public long StoreName { get; set; }
|
|
|
|
|
|
public int PromotionGoodsList { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述 :客户Guid
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
public long CustomerGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :店铺Guid
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
public long ShopGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :商品Guid
|
|
/// </summary>
|
|
public long GoodsGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :商品sku唯一标识
|
|
/// </summary>
|
|
public int GoodsSkuId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :商品数量
|
|
/// </summary>
|
|
public int CartGoodsNum { get; set; }
|
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 购物车记录详情展示对象Api
|
|
/// </summary>
|
|
public class CartApiDetailsVo
|
|
{
|
|
public int CartId { get; set; }
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
public long CartGuid { get; set; }
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
public long CustomerGuid { get; set; }
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
public long ShopGuid { get; set; }
|
|
public long GoodsGuid { get; set; }
|
|
public int GoodsSkuId { get; set; }
|
|
public int CartGoodsNum { get; set; }
|
|
|
|
}
|
|
|
|
}
|