Files
KJD/AllBase/Model/Param/PDDProdParam/PDDActivitySubmitParam.cs
T

118 lines
5.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Param.PDDProdParam
{
public class PDDActivitySubmitParam
{
public long? activity_id { get; set; } = 20981; //23620 21365 15996
public List<goods_vo_param> goods_volist { get; set; } = new List<goods_vo_param>();
public create_protocol_vo_param create_protocol_vo { get; set; } = new create_protocol_vo_param();
public custom_ability_vo_item custom_ability_vo { get; set; } = new custom_ability_vo_item();
public create_outer_activity_price_ratio_vo_param create_outer_activity_price_ratio_vo { get; set; } = new create_outer_activity_price_ratio_vo_param();
public enroll_source_ctx_param enroll_source_ctx { get; set; } = new enroll_source_ctx_param();
// 15996 dXlyaGxldXItNDkwOTQzMTM0LTE3NTg2OTQxODA2MzE=
public string behavior_collection_v1_cas_boost_factor { get; set; } = "dXlyaGxldXItNDkwOTQzMTM0LTE3NTgzNzMzNDQwMjE=";
}
public class custom_ability_vo_item
{
//百万爆款报名需要
public bool? agree_pyramid_system_enroll { get; set; }
public string pyramid_activity_id { get; set; }
}
public class enroll_source_ctx_param
{
public int? enroll_type { get; set; } = 3; // 20981 34, 15996 3
public string scene_full_coverage { get; set; } = "mmsActBatchEnrollV1"; // 20981 mmsActQuickEnrollMultiActivityRealTableV1, 15996 mmsActBatchEnrollV1
public string source_type { get; set; } = "MMSActicon"; // 20981 PROMO-OwnHome_MultiActEnrollMMS, 15996 MMSActicon
public string scene_type { get; set; } = "ActivityCard"; // 10981 无, 15996 ActivityCard
}
public class create_outer_activity_price_ratio_vo_param
{
public bool? merchant_confirm_outer_activity_price_ratio { get; set; } = true;
}
public class create_protocol_vo_param
{
public bool? need_create_cost_template { get; set; } = false; //如运费模板不满足要求,同意为您自动切换为活动适用的运费模板
}
public class goods_vo_param
{
public long? goods_id { get; set; }
public object create_goods_coupon_vo { get; set; } = new object();
public object create_finance_cost_vo { get; set; } = new object();
public create_material_vo_param create_material_vo { get; set; } = new create_material_vo_param();
public view_confirmed_goods_protocol_vo_param view_confirmed_goods_protocol_vo { get; set; } = new view_confirmed_goods_protocol_vo_param();
public create_activity_price_vo_param create_activity_price_vo { get; set; } = new create_activity_price_vo_param();
public create_discount_vo_param create_discount_vo { get; set; }
}
public class create_discount_vo_param {
public int? multi_percent_discount { get; set; } = null;
public bool? hit_multi_percent { get; set; } = null;
}
public class create_activity_price_vo_param
{
public List<create_sku_vo_param> create_sku_vos { get; set; } = new List<create_sku_vo_param>();
public create_traffic_protect_vo_param create_traffic_protect_vo { get; set; } = null; // new create_traffic_protect_vo_param();
public create_quantity_vo_param create_quantity_vo { get; set; } = new create_quantity_vo_param();
public object create_time_vo { get; set; } = new object();
}
public class create_quantity_vo_param {
public int? goods_activity_quantity { get; set; }
}
public class create_traffic_protect_vo_param
{
//public int? max_cut_price_amount { get; set; } = 50; //任意规格当前价失效时,降价0.5元恢复活动权益 //可考虑转换为总价的百分比
public int? max_cut_price_amount { get; set; } = 1; //任意规格当前价失效时,降价0.5元恢复活动权益 //可考虑转换为总价的百分比
}
public class create_sku_vo_param
{
public sku_front_ctx_vo_param sku_front_ctx_vo { get; set; }
public int? sku_activity_price { get; set; }
public long? sku_id { get; set; }
}
public class sku_front_ctx_vo_param
{
public int? filling_sku_price { get; set; }
public int? gear_rule { get; set; }
public int? require_price { get; set; }
public int? filling_sku_price_gear_rule { get; set; } = 1001; // 1001
public object algorithm_decorate_sku_price { get; set; } // null
public object tags { get; set; } // null
}
public class view_confirmed_goods_protocol_vo_param
{
public object confirm_hit_cut_price { get; set; } = null;
public bool? confirm_copy_goods_for_customer_num { get; set; } = false;
public bool? confirm_hit_high_commission { get; set; } = false;
}
public class create_material_vo_param
{
public create_goods_image_vo_param create_goods_image_vo { get; set; } = new create_goods_image_vo_param();
public object create_goods_memo_vo { get; set; } = new object();
public object create_goods_title_vo { get; set; } = new object();
public object create_goods_brand_vo { get; set; } = new object();
}
public class create_goods_image_vo_param
{
public string raw_activity_image_url { get; set; }
}
}