Files
KJD_WebService/AllBase/Model/Result/TemuCategoryTemplateInfo.cs
T

76 lines
2.8 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result
{
public class TemuCategoryTemplateInfo
{
public long? templatePid { get; set; }
public int? pid { get; set; }
public int? refPid { get; set; }
public string name { get; set; }
public Dictionary<string, string> lang2Name { get; set; }
public int? propertyValueType { get; set; }
public List<string> valueUnit { get; set; }
public List<TemuCategoryTemplateValue> values { get; set; }
public int? chooseMaxNum { get; set; }
public int? inputMaxNum { get; set; }
public string maxValue { get; set; }
public string minValue { get; set; }
public int? valuePrecision { get; set; }
public object showCondition { get; set; }
/// <summary>
/// 是否为必填项
/// </summary>
public bool? required { get; set; }
public object requiredRuleType { get; set; }
public object requiredRule { get; set; }
public bool? isSale { get; set; }
public object parentSpecId { get; set; }
public bool? canNote { get; set; }
public bool? isImportant { get; set; }
public bool? isSku { get; set; }
public object mainSale { get; set; }
public int? feature { get; set; }
public object propertyChooseTitle { get; set; }
public object numberInputTitle { get; set; }
public int? valueRule { get; set; }
public int? controlType { get; set; }
public object hasSub { get; set; }
public int? showType { get; set; }
public object noteText { get; set; }
public object noteImgUrl { get; set; }
public int? parentTemplatePid { get; set; }
public object referenceType { get; set; }
public List<templatePropertyValueParent> templatePropertyValueParentList { get; set; }
}
public class templatePropertyValueParent
{
public List<long> vidList { get; set; } // [329529,329531,329530]
public List<long> parentVidList { get; set; } // [31113]
}
public class TemuCategoryTemplateValue
{
public int? vid { get; set; }
public string value { get; set; }
public Dictionary<string, string> lang2Value { get; set; }
public TemuCategoryTemplateValueGroup group { get; set; }
public object specId { get; set; }
public object parentVids { get; set; }
public object extendInfo { get; set; }
public object noteText { get; set; }
public object noteImgUrl { get; set; }
}
public class TemuCategoryTemplateValueGroup
{
public long? id { get; set; } // 1
public string name { get; set; } // "白色系"
}
}