Files
KJD/AllBase/Model/Result/CatePropertyResponseInfo.cs
T
2025-06-29 19:38:31 +08:00

107 lines
2.6 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result
{
public class CatePropertyResponseInfo
{
//public string msg = "";
//private int tpl_type = 0;
//private int page = 0;
//private int size = 0;
//private int st = 0;
//public int code = 0;
//public int total = 0;
public int code = 0;
public int err_no = 0;
public string log_id = "";
public string message = "";
public string msg = "";
public string sub_code = "";
public string sub_msg = "";
public PropertiesData data { get; set; }
}
public class PropertiesData
{
public int tpl_type = 0;
public List<PropertiesBase> data
{
get;
set;
}
}
public class PropertiesBase
{
public int property_id;
public string property_name;
public bool required;
public string type;
//public string hint = "";
public int multi_select_max;
/// <summary>
/// 是否支持枚举可输入,0表示不支持,1表示支持,支持枚举可输入的属性,在发布/编辑接口的类目属性参数中可以传入自定义的属性值,自定义属性值value为0,diy_type为1
/// </summary>
public int diy_type;
//public int property_type = 0;
//public string property_id = "";
//public int sequence = 0;
//public int relation_id = 0;
//public string name
//{
// get;
// set;
//}
//public int required
//{
// get;
// set;
//}
//public string type
//{
// get;
// set;
//}
public List<PropertiesValuesBase> options
{
get;
set;
}
}
public class PropertiesValuesBase
{
public string name
{
get;
set;
}
public string value
{
get;
set;
}
}
public class PropertyBaseNew
{
public long property_id;
public string property_name;
public string type;
public int required;
public List<PropertiesValuesBaseNew> vbnlst = new List<PropertiesValuesBaseNew>();
}
public class PropertiesValuesBaseNew
{
public string name;
public long sequence;
public string value;
public long value_id;
}
}