/*********************************************************************** * Project: baifenBinfa * ProjectName: 百分兵法管理系统 * Web: http://chuanyin.com * Author: * Email: * CreateTime: 202403/02 * Description: 暂无 ***********************************************************************/ using System.Collections.Generic; using Newtonsoft.Json.Linq; namespace CoreCms.Net.Model.ViewModels.DTO { /// /// 获取用户积分返回 /// public class GetUserPointResult { public int availablePoint { get; set; } = 0; public decimal pointExchangeMoney { get; set; } = 0; public int @switch { get; set; } = 1; public int point { get; set; } = 0; } /// /// 获取用户积分提交 /// public class GetUserPointPost { /// /// 订单金额 /// public decimal orderMoney { get; set; } /// /// 购物车序列号 /// public string ids { get; set; } /// /// 购物车类型 /// public int cartType { get; set; } } /// /// 保存用户地址提交数据 /// public class SaveUserShipPost { public int id { get; set; } = 0; public string address { get; set; } public int areaId { get; set; } public int isDefault { get; set; } = 2; public string mobile { get; set; } public string name { get; set; } public string longitude { get; set; } public string latitude { get; set; } public string street { get; set; } } /// /// 用户获取区域id提交实体 /// public class GetAreaIdPost { /// /// 市/区 /// public string cityName { get; set; } /// /// 县 /// public string countyName { get; set; } /// /// 省 /// public string provinceName { get; set; } /// /// 邮编 /// public string postalCode { get; set; } } /// /// 支付提交实体 /// public class PayPost { /// /// 订单号 /// public string ids { get; set; } /// /// 支付方式 /// public string payment_code { get; set; } /// /// 订单类型 1商品订单 2充值订单 5服务订单 /// public int payment_type { get; set; } = 0; /// /// 附加参数 /// public JObject @params { get; set; } } /// /// 订单评价提交数据 /// public class OrderEvaluatePost { /// /// 订单编号 /// public string orderId { get; set; } /// /// 评价子项 /// public List items { get; set; } } public class OrderEvaluatePostItems { /// /// 图集 /// public string[] images { get; set; } /// /// 关联订单明细编号 /// public int orderItemId { get; set; } /// /// 分值(0-5数字) /// public int score { get; set; } /// /// 评价文字 /// public string textarea { get; set; } } }