using Api.Framework.EntityTmp.SuNing2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Api.Framework.EntityTmp.SuNing
{
///
/// 商品信息
///
public class SN_GoodInfo
{
///
/// 响应体
///
public Sn_responseContent sn_responseContent { get; set; }
}
public class Sn_responseContent
{
///
/// 数据体
///
public Sn_body sn_body { get; set; }
public Sn_error sn_error { get; set; }
}
public class Sn_body
{
///
/// 查询商品的细节集合
///
public List queryCommoditydetail { get; set; }
///
/// 搜索商品的细节集合
///
public List querySearchcommodity { get; set; }
}
public class OrderActivity
{
///
///
///
public List activityRuleList { get; set; }
///
/// 99元任选4件
///
public string activityDescription { get; set; }
}
public class ActivityRuleList
{
///
///
///
public string couponAmount { get; set; }
///
///
///
public string singleMaxRewardAmount { get; set; }
///
///
///
public string baseAddUpType { get; set; }
///
///
///
public string rewardQuantifierType { get; set; }
///
///
///
public string scopeType { get; set; }
///
///
///
public string baseQuantifierType { get; set; }
///
///
///
public string rewardAmount { get; set; }
///
///
///
public string floor { get; set; }
///
///
///
public string baseAmount { get; set; }
}
///
/// 查询商品的细节
///
public class QueryCommoditydetail
{
///
/// 订单活动
///
public OrderActivity orderActivity { get; set; }
///
///
///
public CommodityInfo commodityInfo { get; set; }
///
///
///
public PgInfo pgInfo { get; set; }
///
///
///
public CategoryInfo categoryInfo { get; set; }
///
///
///
public CouponInfo couponInfo { get; set; }
///
///
///
public List couponInfoList { get; set; }
///
///
///
public List actList { get; set; }
///
///
///
public double? arrivalPrice { get; set; }
///
///
///
public AdvanceSale advanceSale { get; set; }
///
///
///
public List parametersList { get; set; }
///
/// subCode
///
public List subCodeList { get; set; }
///
///
///
public CmmdtyReviewInfo cmmdtyReviewInfo { get; set; }
}
public class SubCodeList
{
///
///
///
public string subCode { get; set; }
}
public class CmmdtyReviewInfo
{
///
/// 好评率
///
public string goodRate { get; set; }
///
/// 好评数量
///
public int goodReviewCount { get; set; }
///
/// 评价总数
///
public int totalReviewCount { get; set; }
}
public class CouponInfoList
{
///
///
///
public string bounsLimit { get; set; }
///
///
///
public string activitySecretKey { get; set; }
///
///
///
public DateTime? couponEndTime { get; set; }
///
///
///
public string activityId { get; set; }
///
///
///
public DateTime? couponStartTime { get; set; }
///
///
///
public string couponUrl { get; set; }
///
///
///
public string couponCount { get; set; }
///
///
///
public DateTime? startTime { get; set; }
///
/// 店铺易券(4元)
///
public string activityDescription { get; set; }
///
///
///
public DateTime? endTime { get; set; }
///
///
///
public string couponValue { get; set; }
}
public class ActRoleList
{
///
///
///
public string couponAmount { get; set; }
///
///
///
public string singleMaxRewardAmount { get; set; }
///
///
///
public string baseAddUpType { get; set; }
///
///
///
public string rewardQuantifierType { get; set; }
///
///
///
public string scopeType { get; set; }
///
///
///
public string baseQuantifierType { get; set; }
///
///
///
public string rewardAmount { get; set; }
///
///
///
public string floor { get; set; }
///
///
///
public string baseAmount { get; set; }
}
public class ActList
{
///
///
///
public string activityId { get; set; }
///
///
///
public List actRoleList { get; set; }
///
/// 店铺易券(4元)
///
public string activityDescription { get; set; }
///
///
///
public string activityTypeId { get; set; }
}
public class AdvanceSale
{
///
/// 是否预售
///
public string isReserveCommodity { get; set; }
///
/// 定金
///
public string depositAmount { get; set; }
///
/// 付定金结束时间
///
public string depositEndTime { get; set; }
}
public class ParametersList
{
///
/// 参数说明文
///
public string explain { get; set; }
///
/// 参数组描述
///
public string parameterDesc { get; set; }
///
/// 参数组排序
///
public string sequence { get; set; }
///
/// 参数描述值
///
public string parameterVal { get; set; }
///
/// parameterCode
///
public string parametersCode { get; set; }
///
/// 参数排序码
///
public string parameterSequence { get; set; }
///
/// 参数组描述
///
public string parametersDesc { get; set; }
///
/// 核心参数
///
public string coreFlag { get; set; }
///
/// 参数代码
///
public string parameterCode { get; set; }
}
public class PictureUrl
{
///
/// 图片Url
///
public string picUrl { get; set; }
///
/// 图片位置
///
public int locationId { get; set; }
}
public class CommodityInfo
{
///
/// 0不是 1是
///
public string isAct { get; set; }
///
/// 商品名称
///
public string commodityName { get; set; }
///
/// 商品编码
///
public string commodityCode { get; set; }
///
/// 供应商编码(店铺id)
///
public string supplierCode { get; set; }
///
/// 供应商名称(店铺名)
///
public string supplierName { get; set; }
///
/// 图片信息
///
public List pictureUrl { get; set; }
///
/// 商品卖点
///
public string sellingPoint { get; set; }
///
/// 月销量
///
public int monthSales { get; set; }
///
/// 原价
///
public string snPrice { get; set; }
///
/// 当前价
///
public string commodityPrice { get; set; }
///
/// 商品类型 1:自营 2:C店 3:海外购自营 4:海外购 5:特卖 6:极物
///
public int commodityType { get; set; }
///
/// 价格类型
///
public string priceType { get; set; }
///
/// 价格类型编码 0:正常价格,1:大聚惠 , 2:抢购, 3:渠道专享, 4:限时促销 ,5:爆款抢购,6:掌上抢,7:特卖,99:乐拼购
///
public int priceTypeCode { get; set; }
///
/// 是否包邮 0:不包邮 1:包邮
///
public int baoyou { get; set; }
///
/// 佣金比例 (数值为百分比数据)
///
public string rate { get; set; }
///
/// 是否可售 0:可售,1:无货,2:本地暂不销售
///
public int saleStatus { get; set; }
///
/// 四级页地址
///
public string productUrl { get; set; }
///
/// 1:禁售 0:非禁售
///
public string forbiddenMark { get; set; }
}
public class PgInfo
{
///
/// 成团人数
///
public string pgNum { get; set; }
///
/// 拼购价
///
public string pgPrice { get; set; }
///
/// 拼购四级页地址
///
public string pgUrl { get; set; }
///
/// 拼购活动ID
///
public string pgActionId { get; set; }
///
/// 拼购商品起售数量
///
public string minOrderQuantity { get; set; }
}
public class CategoryInfo
{
///
/// 一级销售目录ID
///
public string firstSaleCategoryId { get; set; }
///
/// 一级销售目录名称
///
public string firstSaleCategoryName { get; set; }
///
/// 二级销售目录ID
///
public string secondSaleCategoryId { get; set; }
///
/// 厨二级销售目录名称
///
public string secondSaleCategoryName { get; set; }
///
/// 三级销售目录ID
///
public string thirdSaleCategoryId { get; set; }
///
/// 三级销售目录名称
///
public string thirdSaleCategoryName { get; set; }
///
/// 一级采购目录ID
///
public string firstPurchaseCategoryId { get; set; }
///
/// 一级采购目录名称
///
public string firstPurchaseCategoryName { get; set; }
///
/// 二级采购目录ID
///
public string secondPurchaseCategoryId { get; set; }
///
/// 二级采购目录名称
///
public string secondPurchaseCategoryName { get; set; }
///
/// 三级采购目录ID
///
public string thirdPurchaseCategoryId { get; set; }
///
/// 三级采购目录名称
///
public string thirdPurchaseCategoryName { get; set; }
///
/// 商品组目录ID
///
public string goodsGroupCategoryId { get; set; }
///
/// 商品组目录名称
///
public string goodsGroupCategoryName { get; set; }
}
public class CouponInfo
{
///
/// 券链接URL
///
public string couponUrl { get; set; }
///
/// 券活动编码
///
public string activityId { get; set; }
///
/// 券秘钥
///
public string activitySecretKey { get; set; }
///
/// 满30用4
///
public string preferentialDistinct { get; set; }
///
///
///
public string couponShowType { get; set; }
///
/// 4元
///
public string descriptionForList { get; set; }
///
///
///
public string bounsAmount { get; set; }
///
/// 券面额
///
public string couponValue { get; set; }
///
/// 券总数
///
public string couponCount { get; set; }
///
/// 券领取开始时间
///
public DateTime? couponStartTime { get; set; }
///
/// 券领取结束时间
///
public DateTime? couponEndTime { get; set; }
///
/// 券使用开始时间
///
public string startTime { get; set; }
///
/// 券使用结束时间
///
public string endTime { get; set; }
///
/// 基数数值
///
public string bounsLimit { get; set; }
///
/// 活动描述
///
public string activityDescription { get; set; }
///
/// 券后价
///
public string afterCouponPrice { get; set; }
}
}