45 lines
1.6 KiB
C#
45 lines
1.6 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 ApiPddGoodsCatRuleInfo
|
|
{
|
|
public int? input_max_spec_num { get; set; } // 0,
|
|
public List<ApiPddProperty> properties { get; set; }
|
|
public bool? choose_all_qualify_spec { get; set; } // false
|
|
}
|
|
|
|
public class ApiPddProperty
|
|
{
|
|
public bool? is_sale { get; set; } // false,
|
|
public bool? is_important { get; set; } // true,
|
|
public bool? is_sku { get; set; } // false,
|
|
public List<ApiPddPropertyValue> values { get; set; } // Array[11],
|
|
public int? value_precision { get; set; } // 0,
|
|
public int? input_max_num { get; set; } // 0,
|
|
public bool? required { get; set; } // false,
|
|
public object required_rule { get; set; }
|
|
public int? required_rule_type { get; set; } // 0,
|
|
public int? choose_max_num { get; set; } // 1,
|
|
public string min_value { get; set; } // "",
|
|
public bool? can_note { get; set; } // false,
|
|
public long? ref_pid { get; set; } // 1366,
|
|
public string name { get; set; } // "穿耳材质",
|
|
public List<string> value_unit { get; set; } // [ "" ],
|
|
public string max_value { get; set; } // "",
|
|
public int? property_value_type { get; set; } // 0
|
|
|
|
}
|
|
|
|
public class ApiPddPropertyValue
|
|
{
|
|
public long? vid { get; set; } // 10629, // 12854,
|
|
public string value { get; set; } // "其它", // "塑料",
|
|
|
|
}
|
|
}
|