31 lines
1.2 KiB
C#
31 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AllBase.Model.Param.PDDCouponParam
|
|
{
|
|
public class PDDCouponParam
|
|
{
|
|
public bool? ignore_low_price { get; set; } = false; //false
|
|
public int? source_type { get; set; } //1242
|
|
public List<create_request> create_request_list { get; set; } = new List<create_request>();
|
|
public string tool_full_channel { get; set; } // "12110_76109_010921_77272"
|
|
}
|
|
|
|
public class create_request
|
|
{
|
|
public long? goods_id { get; set; } // 837311546492,
|
|
public string batch_desc { get; set; } // "惊喜券",
|
|
public long? batch_start_time { get; set; } // 1760785200000,
|
|
public long? batch_end_time { get; set; } // 1760889599999,
|
|
public int? discount { get; set; } // 300,
|
|
public object init_quantity { get; set; } // 380, //有时候是int有时候是string
|
|
public int? user_limit { get; set; } // 2, 每人限领数量
|
|
public int? period_type { get; set; } // 0,
|
|
public object duration { get; set; } = 7; // 7, //有时候是int有时候是string
|
|
public int? status { get; set; } = 2; // 2
|
|
}
|
|
}
|