Files
KJD/AllBase/Model/Result/PDDResult/PDDProductTemplateInfo.cs
T
2025-12-29 19:56:10 +08:00

213 lines
8.0 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.PDDResult
{
public class PDDProductTemplateInfo
{
public int? id { get; set; }
public int? source_template_id { get; set; }
public string name { get; set; }
public List<int?> cat_ids { get; set; }
public List<cat_item> cats { get; set; }
public int? dark_launch_type { get; set; }
public string dark_launch_rule { get; set; }
public int? dark_launch_rate { get; set; }
public List<object> dark_launch_option { get; set; }
public int? sort_order { get; set; }
public int? status { get; set; }
public int? input_max_spec_num { get; set; }
public bool choose_all_qualify_spec { get; set; }
public int? single_spec_value_num { get; set; }
public string spec_tip { get; set; }
public bool is_single_item { get; set; }
public int? channel { get; set; }
public int? type { get; set; }
public List<pdd_module_item> modules { get; set; }
public spec_module_item spec_module { get; set; }
public bool? is_spec { get; set; }
public bool? can_edit { get; set; }
public bool? has_change { get; set; }
public int? max_sku_num { get; set; }
public bool? custom_upload_pic { get; set; }
}
public class spec_module_item
{
public long? id { get; set; }
public List<spec_module_property_item> properties { get; set; }
public List<object> custom_properties { get; set; }
public List<object> removed_properties { get; set; }
}
public class spec_module_property_item
{
public long? id { get; set; } // 471233
public string name_alias { get; set; } // "颜色分类"
public int? pid { get; set; } // 232
public string bottom_tip { get; set; } // "选择标准颜色可增加搜索/导购机会,标准颜色还可填写颜色备注信息(偏深、偏亮等)!"
public List<spec_module_property_value_item> values { get; set; }
public List<int?> value_ids { get; set; }
public List<spec_module_goods_property_item> goods_properties { get; set; }
public int? ref_pid { get; set; } // 843
public int? input_max_num { get; set; } // 100
public bool? can_note { get; set; } // true
public long? spec_id { get; set; } // 8640
public bool? upload_pic { get; set; } // true
public int? feature { get; set; } // 1
public List<spec_module_goods_property_item> custom_goods_properties { get; set; }
public bool? is_all_value { get; set; } // true,
public int? value_type { get; set; } // 0,
public int? control_type { get; set; } // 3,
public string value_unit { get; set; } // "",
public int? value_precision { get; set; } // 0,
public string max_value { get; set; } // "64",
public string min_value { get; set; } // "",
public int? sort_order { get; set; } // 0,
public bool? value_can_sort { get; set; } // true,
public bool? required { get; set; } // false,
public long? choose_max_num { get; set; } // 2147483647,
public string spec_tip { get; set; } // "",
public bool? is_key { get; set; } // false,
public int? mask_rule_type { get; set; } // 0,
public int? show_type { get; set; } // 0,
public List<object> template_property_value_parent_vos { get; set; } // [],
public int? parent_template_pid { get; set; } // 0,
public bool? unit_same { get; set; } // false
}
public class spec_module_goods_property_item
{
public string p_unit { get; set; } // ""
public int? vid { get; set; } // 60465
public string v_value { get; set; } // "黑色"
public int? parent_spec_id { get; set; } // 8640
public long? spec_id { get; set; } // 49751
public string note { get; set; } // ""
public string img_url { get; set; } // ""
public group_vo_item group_vo { get; set; }
}
public class group_vo_item
{
public int? id { get; set; } // 2
public string name { get; set; } // "灰色系"
}
public class spec_module_property_value_item
{
public int? id { get; set; } // 0
public long? vid { get; set; } // 59500
public string value { get; set; } // "白色"
public value_group_item group { get; set; }
public string extend_info { get; set; } // "(255,255,255,1)"
public long? spec_id { get; set; } // 54780
}
public class value_group_item
{
public int? id { get; set; } // 1
public string name { get; set; } // "白色系"
}
public class pdd_module_item
{
public int? id { get; set; }
public int? module_id { get; set; }
public int? sort_order { get; set; }
public int? status { get; set; }
public List<pdd_property_item> propertys { get; set; }
public int? type { get; set; }
}
public class pdd_property_item
{
public int? id { get; set; }
public string name_alias { get; set; }
public int? pid { get; set; }
public string value_unit { get; set; }
public int? value_precision { get; set; }
public string max_value{ get; set; }
public string min_value { get; set; }
public string top_tip { get; set; }
public string bottom_tip { get; set; }
public int? sort_order { get; set; }
public bool required { get; set; }
public int? required_type { get; set; }
public int? required_rule_type { get; set; }
public int? status { get; set; }
public int? show_type { get; set; }
public pdd_property_value_item values { get; set; }
public List<int?> value_ids { get; set; }
public List<goods_propertie> goods_properties { get; set; }
public int? control_type { get; set; }
public int? value_type { get; set; }
public int? choose_max_num { get; set; }
public int? parent_template_pid { get; set; }
public int? ref_pid { get; set; }
public object rule { get; set; } = new object();
public int? auto_compute_type { get; set; }
public bool? is_key { get; set; }
public bool? is_important { get; set; }
public int? value_source { get; set; }
public int? rule_property_type { get; set; }
public bool? is_editable { get; set; }
public bool? value_can_sort { get; set; }
public bool? show_feedback { get; set; }
public int? entity_type { get; set; }
public int? mask_rule_type { get; set; }
public bool? is_ref_only { get; set; }
}
public class goods_propertie
{
public string p_unit { get; set; } // "",
public long? vid { get; set; } // 24044,
public string v_value { get; set; } // "中国大陆",
public object group_vo { get; set; } // {}
}
public class pdd_property_value_item
{
public List<pdd_property_value_content_item> content { get; set; }
public int? total { get; set; }
public pdd_property_value_pageable_item pageable { get; set; }
public int? total_pages { get; set; }
public bool? first_page { get; set; }
public bool last_page { get; set; }
public int? size { get; set; }
public int? number { get; set; }
}
public class pdd_property_value_pageable_item
{
public int? page_number { get; set; }
public int? page_size { get; set; }
public int? offset { get; set; }
public bool? need_count { get; set; }
}
public class pdd_property_value_content_item
{
public long? vid { get; set; }
public string value { get; set; }
}
public class cat_item
{
public int? cat_id { get; set; }
public string cat_name { get; set; }
}
}