using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Param.WXParam
{
public class WXCouponParamBase
{
public WXCouponParam coupon { get; set; } = new WXCouponParam();
public bool? check { get; set; } // true
}
public class WXCouponParam
{
public WXCouponKeyParam couponKey { get; set; } = new WXCouponKeyParam();
public WXCouponInfoParam couponInfo { get; set; } = new WXCouponInfoParam();
public int? status { get; set; } // 2-生效中 4-已作废 5-已删除
}
public class WXCouponInfoParam
{
///
/// 活动名称,使用商品ID
///
public string name { get; set; } // "10000509758262",
public promoteInfoParam promoteInfo { get; set; } = new promoteInfoParam();
public receiveInfoParam receiveInfo { get; set; } = new receiveInfoParam();
public extInfoParam extInfo { get; set; } = new extInfoParam();
public CouponValidInfoParam validInfo { get; set; } = new CouponValidInfoParam();
public discountInfoParam discountInfo { get; set; } = new discountInfoParam();
public mmpayShakeInfoParam mmpayShakeInfo { get; set; } = new mmpayShakeInfoParam();
}
public class mmpayShakeInfoParam
{
public string productName { get; set; } = "";
public string productHeadImgUrl { get; set; } = "";
public string productBackgroundImgUrl { get; set; } = "";
public List productDetailImgUrlList { get; set; } = new List();
}
public class discountInfoParam
{
///
/// 统一折扣或条件折扣的折扣
///
public string discountNum { get; set; } = ""; // "9.9" // 99折;
///
/// 满xx减yy的yy
///
public string discountFee { get; set; } = "0"; // "1";
///
/// 满减是否可累进(每满xx减yy)
///
public bool? isCanUp { get; set; } = false; // false-满xx减yy true-每满xx减yy
public discountConditionParam discountCondition { get; set; } = new discountConditionParam();
}
public class discountConditionParam
{
///
/// 参加活动的商品ID列表
///
public List productIds { get; set; } = new List(); // [10000509758262],
public List