66 lines
1.6 KiB
C#
66 lines
1.6 KiB
C#
|
// <auto-generated />
|
|||
|
//
|
|||
|
// To parse this JSON data, add NuGet 'Newtonsoft.Json' then do:
|
|||
|
//
|
|||
|
// using Model;
|
|||
|
//
|
|||
|
// var response = Response.FromJson(jsonString);
|
|||
|
|
|||
|
|
|||
|
namespace Model
|
|||
|
{
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
using System.Globalization;
|
|||
|
using Newtonsoft.Json;
|
|||
|
using Newtonsoft.Json.Converters;
|
|||
|
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// PMP接口查询条件
|
|||
|
/// </summary>
|
|||
|
public partial class PMPSearchCondData
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 查询字段名字
|
|||
|
/// </summary>
|
|||
|
public string name { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 查询字段取值
|
|||
|
/// </summary>
|
|||
|
public string value { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 查询类型;TextInput:模糊查询;SelectList:精确查询;TimeSelector:时间查询
|
|||
|
/// </summary>
|
|||
|
public string fieldType { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 接口返回Data
|
|||
|
/// </summary>
|
|||
|
public partial class ResponseData
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 权限信息
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("userColumnPermissions")]
|
|||
|
public string userColumnPermissions { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
internal static class Converter
|
|||
|
{
|
|||
|
public static readonly JsonSerializerSettings Settings = new JsonSerializerSettings
|
|||
|
{
|
|||
|
MetadataPropertyHandling = MetadataPropertyHandling.Ignore,
|
|||
|
DateParseHandling = DateParseHandling.None,
|
|||
|
Converters =
|
|||
|
{
|
|||
|
new IsoDateTimeConverter { DateTimeStyles = DateTimeStyles.AssumeUniversal }
|
|||
|
},
|
|||
|
};
|
|||
|
}
|
|||
|
}
|
|||
|
|