using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace COMCMS.Core.Models { public class APIModels { } #region 小程序商品购物车信息 /// /// 小程序的商品购物车 /// public class WXAppProductCart { public int id { get; set; } = 0; public int qty { get; set; } = 1; public string title { get; set; } public decimal price { get; set; } public string pic { get; set; } public bool selected { get; set; } = false; } /// /// 小程序提交订单购物车单项 /// public class WXAppCheckoutProductCart { /// /// 商品ID /// public int id { get; set; } = 0; /// /// 数量 /// public int qty { get; set; } = 1; } #endregion #region 系统文件目录信息列表 /// /// 系统文件目录信息 /// public class DirInfo { /// /// 目录名称 /// public string name { get; set; } /// /// 目录 /// public string path { get; set; } /// /// 目录详情 /// public string fullPath { get; set; } /// /// 子目录 /// public List subList { get; set; } } #endregion }