mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-21 02:58:06 +08:00
fix(work): 修复部门 ID 值溢出错误问题
This commit is contained in:
@@ -0,0 +1,54 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Newtonsoft.Json.Converters
|
||||||
|
{
|
||||||
|
internal class TextualLongArrayWithPipeSplitConverter : JsonConverter<long[]?>
|
||||||
|
{
|
||||||
|
public override bool CanRead
|
||||||
|
{
|
||||||
|
get { return true; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CanWrite
|
||||||
|
{
|
||||||
|
get { return true; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public override long[]? ReadJson(JsonReader reader, Type objectType, long[]? existingValue, bool hasExistingValue, JsonSerializer serializer)
|
||||||
|
{
|
||||||
|
if (reader.TokenType == JsonToken.Null)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
else if (reader.TokenType == JsonToken.String)
|
||||||
|
{
|
||||||
|
string? value = serializer.Deserialize<string>(reader);
|
||||||
|
if (value == null)
|
||||||
|
return null;
|
||||||
|
if (string.IsNullOrEmpty(value))
|
||||||
|
return Array.Empty<long>();
|
||||||
|
|
||||||
|
string[] strArr = value.Split('|');
|
||||||
|
long[] intArr = new long[strArr.Length];
|
||||||
|
for (int i = 0; i < strArr.Length; i++)
|
||||||
|
{
|
||||||
|
if (!long.TryParse(strArr[i], out long j))
|
||||||
|
throw new JsonSerializationException("Unexpected token when parsing string to long.");
|
||||||
|
|
||||||
|
intArr[i] = j;
|
||||||
|
}
|
||||||
|
return intArr;
|
||||||
|
}
|
||||||
|
|
||||||
|
throw new JsonSerializationException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void WriteJson(JsonWriter writer, long[]? value, JsonSerializer serializer)
|
||||||
|
{
|
||||||
|
if (value != null)
|
||||||
|
writer.WriteValue(string.Join("|", value));
|
||||||
|
else
|
||||||
|
writer.WriteNull();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,39 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
|
namespace Newtonsoft.Json.Converters
|
||||||
|
{
|
||||||
|
internal class TextualLongListWithPipeSplitConverter : JsonConverter
|
||||||
|
{
|
||||||
|
private readonly JsonConverter<long[]?> _converter = new TextualLongArrayWithPipeSplitConverter();
|
||||||
|
|
||||||
|
public override bool CanConvert(Type objectType)
|
||||||
|
{
|
||||||
|
return objectType.IsGenericType &&
|
||||||
|
typeof(IList<>).IsAssignableFrom(objectType.GetGenericTypeDefinition()) &&
|
||||||
|
typeof(long) == objectType.GetGenericArguments()[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CanRead
|
||||||
|
{
|
||||||
|
get { return true; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CanWrite
|
||||||
|
{
|
||||||
|
get { return true; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public override object? ReadJson(JsonReader reader, Type objectType, object? existingValue, JsonSerializer serializer)
|
||||||
|
{
|
||||||
|
long[]? array = _converter.ReadJson(reader, objectType, null, false, serializer);
|
||||||
|
return array?.ToList();
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer)
|
||||||
|
{
|
||||||
|
_converter.WriteJson(writer, ((IList<long>?)value)?.ToArray(), serializer);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,44 @@
|
|||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace System.Text.Json.Converters
|
||||||
|
{
|
||||||
|
internal class TextualLongArrayWithPipeSplitConverter : JsonConverter<long[]?>
|
||||||
|
{
|
||||||
|
public override long[]? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
|
||||||
|
{
|
||||||
|
if (reader.TokenType == JsonTokenType.Null)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
else if (reader.TokenType == JsonTokenType.String)
|
||||||
|
{
|
||||||
|
string? value = reader.GetString();
|
||||||
|
if (value == null)
|
||||||
|
return null;
|
||||||
|
if (string.IsNullOrEmpty(value))
|
||||||
|
return Array.Empty<long>();
|
||||||
|
|
||||||
|
string[] strArr = value.Split('|');
|
||||||
|
long[] intArr = new long[strArr.Length];
|
||||||
|
for (int i = 0; i < strArr.Length; i++)
|
||||||
|
{
|
||||||
|
if (!long.TryParse(strArr[i], out long j))
|
||||||
|
throw new JsonException("Unexpected token when parsing string to long.");
|
||||||
|
|
||||||
|
intArr[i] = j;
|
||||||
|
}
|
||||||
|
return intArr;
|
||||||
|
}
|
||||||
|
|
||||||
|
throw new JsonException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Write(Utf8JsonWriter writer, long[]? value, JsonSerializerOptions options)
|
||||||
|
{
|
||||||
|
if (value != null)
|
||||||
|
writer.WriteStringValue(string.Join("|", value));
|
||||||
|
else
|
||||||
|
writer.WriteNullValue();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,38 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace System.Text.Json.Converters
|
||||||
|
{
|
||||||
|
internal class TextualLongListWithPipeSplitConverter : JsonConverterFactory
|
||||||
|
{
|
||||||
|
private sealed class InnerTextualIntegerListWithVBarSplitConverter : JsonConverter<IList<long>?>
|
||||||
|
{
|
||||||
|
private readonly JsonConverter<long[]?> _converter = new TextualLongArrayWithPipeSplitConverter();
|
||||||
|
|
||||||
|
public override IList<long>? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
|
||||||
|
{
|
||||||
|
long[]? array = _converter.Read(ref reader, typeToConvert, options);
|
||||||
|
IList<long>? list = array?.ToList();
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Write(Utf8JsonWriter writer, IList<long>? value, JsonSerializerOptions options)
|
||||||
|
{
|
||||||
|
_converter.Write(writer, value?.ToArray(), options);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool CanConvert(Type typeToConvert)
|
||||||
|
{
|
||||||
|
return typeToConvert.IsGenericType &&
|
||||||
|
typeof(IList<>).IsAssignableFrom(typeToConvert.GetGenericTypeDefinition()) &&
|
||||||
|
typeof(long) == typeToConvert.GetGenericArguments()[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
public override JsonConverter? CreateConverter(Type typeToConvert, JsonSerializerOptions options)
|
||||||
|
{
|
||||||
|
return new InnerTextualIntegerListWithVBarSplitConverter();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -25,7 +25,7 @@
|
|||||||
/// 获取或设置提单部门 ID。
|
/// 获取或设置提单部门 ID。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Xml.Serialization.XmlElement("Party")]
|
[System.Xml.Serialization.XmlElement("Party")]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Notifier
|
public class Notifier
|
||||||
|
@@ -210,7 +210,7 @@
|
|||||||
/// 获取或设置部门 ID。
|
/// 获取或设置部门 ID。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Xml.Serialization.XmlElement("Id", IsNullable = true)]
|
[System.Xml.Serialization.XmlElement("Id", IsNullable = true)]
|
||||||
public int? DepartmentId { get; set; }
|
public long? DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置上级部门 ID。
|
/// 获取或设置上级部门 ID。
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyid")]
|
[Newtonsoft.Json.JsonProperty("partyid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
||||||
public int[] DepartmentIdList { get; set; } = default!;
|
public long[] DepartmentIdList { get; set; } = default!;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class AllowedTag
|
public class AllowedTag
|
||||||
|
@@ -33,7 +33,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("allow_party")]
|
[Newtonsoft.Json.JsonProperty("allow_party")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("allow_party")]
|
[System.Text.Json.Serialization.JsonPropertyName("allow_party")]
|
||||||
public IList<int>? AllowedDepartmentIdList { get; set; }
|
public IList<long>? AllowedDepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置可见标签 ID 列表。
|
/// 获取或设置可见标签 ID 列表。
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("invalidparty")]
|
[Newtonsoft.Json.JsonProperty("invalidparty")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("invalidparty")]
|
[System.Text.Json.Serialization.JsonPropertyName("invalidparty")]
|
||||||
public int[]? InvalidDepartmentIdList { get; set; }
|
public long[]? InvalidDepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置无效的标签 ID 列表。
|
/// 获取或设置无效的标签 ID 列表。
|
||||||
|
@@ -42,7 +42,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyid")]
|
[Newtonsoft.Json.JsonProperty("partyid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
||||||
public int? DepartmentId { get; set; }
|
public long? DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("party")]
|
[Newtonsoft.Json.JsonProperty("party")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("party")]
|
[System.Text.Json.Serialization.JsonPropertyName("party")]
|
||||||
public IList<int>? DepartmentIdList { get; set; }
|
public IList<long>? DepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置标签 ID 列表。
|
/// 获取或设置标签 ID 列表。
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("invalidparty")]
|
[Newtonsoft.Json.JsonProperty("invalidparty")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("invalidparty")]
|
[System.Text.Json.Serialization.JsonPropertyName("invalidparty")]
|
||||||
public int[]? InvalidDepartmentIdList { get; set; }
|
public long[]? InvalidDepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置无效的标签 ID 列表。
|
/// 获取或设置无效的标签 ID 列表。
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyid")]
|
[Newtonsoft.Json.JsonProperty("partyid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
||||||
public int[]? DepartmentIdList { get; set; }
|
public long[]? DepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置标签 ID 列表。
|
/// 获取或设置标签 ID 列表。
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("id")]
|
[Newtonsoft.Json.JsonProperty("id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||||
public int? DepartmentId { get; set; }
|
public long? DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置部门名称。
|
/// 获取或设置部门名称。
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("parentid")]
|
[Newtonsoft.Json.JsonProperty("parentid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
||||||
public int? ParentDepartmentId { get; set; }
|
public long? ParentDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置在上级部门中的次序值。
|
/// 获取或设置在上级部门中的次序值。
|
||||||
|
@@ -10,6 +10,6 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("id")]
|
[Newtonsoft.Json.JsonProperty("id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -10,6 +10,6 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonIgnore]
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
[System.Text.Json.Serialization.JsonIgnore]
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -10,6 +10,6 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonIgnore]
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
[System.Text.Json.Serialization.JsonIgnore]
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -10,6 +10,6 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonIgnore]
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
[System.Text.Json.Serialization.JsonIgnore]
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
public int? ParentDepartmentId { get; set; }
|
public long? ParentDepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("id")]
|
[Newtonsoft.Json.JsonProperty("id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置部门名称。
|
/// 获取或设置部门名称。
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("parentid")]
|
[Newtonsoft.Json.JsonProperty("parentid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
||||||
public int ParentDepartmentId { get; set; }
|
public long ParentDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置在上级部门中的次序值。
|
/// 获取或设置在上级部门中的次序值。
|
||||||
|
@@ -10,6 +10,6 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonIgnore]
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
[System.Text.Json.Serialization.JsonIgnore]
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
public int? ParentDepartmentId { get; set; }
|
public long? ParentDepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -14,14 +14,14 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("id")]
|
[Newtonsoft.Json.JsonProperty("id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置上级部门 ID。
|
/// 获取或设置上级部门 ID。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("parentid")]
|
[Newtonsoft.Json.JsonProperty("parentid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
||||||
public int ParentDepartmentId { get; set; }
|
public long ParentDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置在上级部门中的次序值。
|
/// 获取或设置在上级部门中的次序值。
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("id")]
|
[Newtonsoft.Json.JsonProperty("id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置部门名称。
|
/// 获取或设置部门名称。
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("parentid")]
|
[Newtonsoft.Json.JsonProperty("parentid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
||||||
public int? ParentDepartmentId { get; set; }
|
public long? ParentDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置在上级部门中的次序值。
|
/// 获取或设置在上级部门中的次序值。
|
||||||
|
@@ -33,6 +33,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyid")]
|
[Newtonsoft.Json.JsonProperty("partyid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
||||||
public IList<int>? DepartmentIdList { get; set; }
|
public IList<long>? DepartmentIdList { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -180,7 +180,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("party")]
|
[Newtonsoft.Json.JsonProperty("party")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("party")]
|
[System.Text.Json.Serialization.JsonPropertyName("party")]
|
||||||
public IList<int>? DepartmentIdList { get; set; }
|
public IList<long>? DepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置是否临时会话模式。
|
/// 获取或设置是否临时会话模式。
|
||||||
|
@@ -196,7 +196,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("party")]
|
[Newtonsoft.Json.JsonProperty("party")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("party")]
|
[System.Text.Json.Serialization.JsonPropertyName("party")]
|
||||||
public int[]? DepartmentIdList { get; set; }
|
public long[]? DepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置是否临时会话模式。
|
/// 获取或设置是否临时会话模式。
|
||||||
|
@@ -61,7 +61,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("party")]
|
[Newtonsoft.Json.JsonProperty("party")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("party")]
|
[System.Text.Json.Serialization.JsonPropertyName("party")]
|
||||||
public IList<int>? DepartmentIdList { get; set; }
|
public IList<long>? DepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置是否临时会话模式。
|
/// 获取或设置是否临时会话模式。
|
||||||
|
@@ -173,7 +173,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyid")]
|
[Newtonsoft.Json.JsonProperty("partyid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
||||||
public int? DepartmentId { get; set; }
|
public long? DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyid")]
|
[Newtonsoft.Json.JsonProperty("partyid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
||||||
public int? DepartmentId { get; set; }
|
public long? DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -23,7 +23,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department_list")]
|
[Newtonsoft.Json.JsonProperty("department_list")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department_list")]
|
[System.Text.Json.Serialization.JsonPropertyName("department_list")]
|
||||||
public IList<int>? DepartmentIdList { get; set; }
|
public IList<long>? DepartmentIdList { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department_list")]
|
[Newtonsoft.Json.JsonProperty("department_list")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department_list")]
|
[System.Text.Json.Serialization.JsonPropertyName("department_list")]
|
||||||
public int[]? DepartmentIdList { get; set; }
|
public long[]? DepartmentIdList { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -99,7 +99,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("to_party")]
|
[Newtonsoft.Json.JsonProperty("to_party")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("to_party")]
|
[System.Text.Json.Serialization.JsonPropertyName("to_party")]
|
||||||
public IList<int>? ToDepartmentIdList { get; set; }
|
public IList<long>? ToDepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置是否发送给学校的所有家长。
|
/// 获取或设置是否发送给学校的所有家长。
|
||||||
|
@@ -31,6 +31,6 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("invalid_party")]
|
[Newtonsoft.Json.JsonProperty("invalid_party")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("invalid_party")]
|
[System.Text.Json.Serialization.JsonPropertyName("invalid_party")]
|
||||||
public int[]? InvalidDepartmentIdIdList { get; set; }
|
public long[]? InvalidDepartmentIdIdList { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -115,7 +115,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department_list")]
|
[Newtonsoft.Json.JsonProperty("department_list")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department_list")]
|
[System.Text.Json.Serialization.JsonPropertyName("department_list")]
|
||||||
public IList<int>? DepartmentIdList { get; set; }
|
public IList<long>? DepartmentIdList { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ExternalContact
|
public class ExternalContact
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department_list")]
|
[Newtonsoft.Json.JsonProperty("department_list")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department_list")]
|
[System.Text.Json.Serialization.JsonPropertyName("department_list")]
|
||||||
public int[]? DepartmentIdList { get; set; }
|
public long[]? DepartmentIdList { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ExternalContact
|
public class ExternalContact
|
||||||
|
@@ -47,7 +47,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyid")]
|
[Newtonsoft.Json.JsonProperty("partyid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
||||||
public int? DepartmentId { get; set; }
|
public long? DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyid")]
|
[Newtonsoft.Json.JsonProperty("partyid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
||||||
public int? DepartmentId { get; set; }
|
public long? DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyid")]
|
[Newtonsoft.Json.JsonProperty("partyid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
||||||
public int[]? DepartmentIdList { get; set; }
|
public long[]? DepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置标签 ID 列表。
|
/// 获取或设置标签 ID 列表。
|
||||||
|
@@ -23,7 +23,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyid")]
|
[Newtonsoft.Json.JsonProperty("partyid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
||||||
public IList<int>? DepartmentIdList { get; set; }
|
public IList<long>? DepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置标签 ID 列表。
|
/// 获取或设置标签 ID 列表。
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyids")]
|
[Newtonsoft.Json.JsonProperty("partyids")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyids")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyids")]
|
||||||
public int[]? DepartmentIdList { get; set; }
|
public long[]? DepartmentIdList { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ReportTo
|
public class ReportTo
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department_id_list")]
|
[Newtonsoft.Json.JsonProperty("department_id_list")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department_id_list")]
|
[System.Text.Json.Serialization.JsonPropertyName("department_id_list")]
|
||||||
public int[]? DepartmentIdList { get; set; }
|
public long[]? DepartmentIdList { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class GroupChatRange
|
public class GroupChatRange
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department_id")]
|
[Newtonsoft.Json.JsonProperty("department_id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department_id")]
|
[System.Text.Json.Serialization.JsonPropertyName("department_id")]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置部门名称。
|
/// 获取或设置部门名称。
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("parentid")]
|
[Newtonsoft.Json.JsonProperty("parentid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
||||||
public int ParentDepartmentId { get; set; }
|
public long ParentDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置在上级部门中的次序值。
|
/// 获取或设置在上级部门中的次序值。
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("main_department")]
|
[Newtonsoft.Json.JsonProperty("main_department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("main_department")]
|
[System.Text.Json.Serialization.JsonPropertyName("main_department")]
|
||||||
public int? AnchorMainDepartmentId { get; set; }
|
public long? AnchorMainDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置直播标题。
|
/// 获取或设置直播标题。
|
||||||
|
@@ -105,7 +105,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("main_department")]
|
[Newtonsoft.Json.JsonProperty("main_department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("main_department")]
|
[System.Text.Json.Serialization.JsonPropertyName("main_department")]
|
||||||
public int? CreatorMainDepartmentId { get; set; }
|
public long? CreatorMainDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置会议标题。
|
/// 获取或设置会议标题。
|
||||||
|
@@ -973,10 +973,10 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// 获取或设置接收消息的部门 ID 列表。
|
/// 获取或设置接收消息的部门 ID 列表。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("toparty")]
|
[Newtonsoft.Json.JsonProperty("toparty")]
|
||||||
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.TextualIntegerListWithPipeSplitConverter))]
|
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.TextualLongListWithPipeSplitConverter))]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("toparty")]
|
[System.Text.Json.Serialization.JsonPropertyName("toparty")]
|
||||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.TextualIntegerListWithPipeSplitConverter))]
|
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.TextualLongListWithPipeSplitConverter))]
|
||||||
public IList<int>? ToDepartmentIdList { get; set; }
|
public IList<long>? ToDepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置接收消息的标签 ID 列表。
|
/// 获取或设置接收消息的标签 ID 列表。
|
||||||
|
@@ -18,10 +18,10 @@
|
|||||||
/// 获取或设置无效的部门 ID 列表。
|
/// 获取或设置无效的部门 ID 列表。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("invalidparty")]
|
[Newtonsoft.Json.JsonProperty("invalidparty")]
|
||||||
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.TextualIntegerArrayWithPipeSplitConverter))]
|
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.TextualLongArrayWithPipeSplitConverter))]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("invalidparty")]
|
[System.Text.Json.Serialization.JsonPropertyName("invalidparty")]
|
||||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.TextualIntegerArrayWithPipeSplitConverter))]
|
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.TextualLongArrayWithPipeSplitConverter))]
|
||||||
public int[]? InvalidDepartmentIdList { get; set; }
|
public long[]? InvalidDepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置无效的标签 ID 列表。
|
/// 获取或设置无效的标签 ID 列表。
|
||||||
|
@@ -56,7 +56,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyids")]
|
[Newtonsoft.Json.JsonProperty("partyids")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyids")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyids")]
|
||||||
public IList<int>? DepartmentIdList { get; set; }
|
public IList<long>? DepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置标签 ID 列表。
|
/// 获取或设置标签 ID 列表。
|
||||||
|
@@ -237,7 +237,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("openapi_id")]
|
[Newtonsoft.Json.JsonProperty("openapi_id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("openapi_id")]
|
[System.Text.Json.Serialization.JsonPropertyName("openapi_id")]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置成员名称。
|
/// 获取或设置成员名称。
|
||||||
@@ -476,7 +476,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("choose_department")]
|
[Newtonsoft.Json.JsonProperty("choose_department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("choose_department")]
|
[System.Text.Json.Serialization.JsonPropertyName("choose_department")]
|
||||||
public int? ApplicantDepartmentId { get; set; }
|
public long? ApplicantDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置审批模板 ID。
|
/// 获取或设置审批模板 ID。
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
[Newtonsoft.Json.JsonProperty("partyid")]
|
[Newtonsoft.Json.JsonProperty("partyid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyid")]
|
||||||
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Notifier
|
public class Notifier
|
||||||
@@ -323,7 +323,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("openapi_id")]
|
[Newtonsoft.Json.JsonProperty("openapi_id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("openapi_id")]
|
[System.Text.Json.Serialization.JsonPropertyName("openapi_id")]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置成员名称。
|
/// 获取或设置成员名称。
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
[Newtonsoft.Json.JsonProperty("open_partyid")]
|
[Newtonsoft.Json.JsonProperty("open_partyid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("open_partyid")]
|
[System.Text.Json.Serialization.JsonPropertyName("open_partyid")]
|
||||||
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Tag
|
public class Tag
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("departments")]
|
[Newtonsoft.Json.JsonProperty("departments")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("departments")]
|
[System.Text.Json.Serialization.JsonPropertyName("departments")]
|
||||||
public int[] DepartmentIdList { get; set; } = default!;
|
public long[] DepartmentIdList { get; set; } = default!;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -39,7 +39,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("id")]
|
[Newtonsoft.Json.JsonProperty("id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||||
public int? DepartmentId { get; set; }
|
public long? DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置部门名称。
|
/// 获取或设置部门名称。
|
||||||
@@ -60,7 +60,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("parentid")]
|
[Newtonsoft.Json.JsonProperty("parentid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
||||||
public int ParentDepartmentId { get; set; }
|
public long ParentDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置标准年级。
|
/// 获取或设置标准年级。
|
||||||
|
@@ -10,6 +10,6 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("id")]
|
[Newtonsoft.Json.JsonProperty("id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -10,6 +10,6 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonIgnore]
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
[System.Text.Json.Serialization.JsonIgnore]
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -10,6 +10,6 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonIgnore]
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
[System.Text.Json.Serialization.JsonIgnore]
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
public int? ParentDepartmentId { get; set; }
|
public long? ParentDepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("id")]
|
[Newtonsoft.Json.JsonProperty("id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置部门名称。
|
/// 获取或设置部门名称。
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("parentid")]
|
[Newtonsoft.Json.JsonProperty("parentid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
||||||
public int ParentDepartmentId { get; set; }
|
public long ParentDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置标准年级。
|
/// 获取或设置标准年级。
|
||||||
|
@@ -46,14 +46,14 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("id")]
|
[Newtonsoft.Json.JsonProperty("id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置新的部门 ID。
|
/// 获取或设置新的部门 ID。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("new_id")]
|
[Newtonsoft.Json.JsonProperty("new_id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("new_id")]
|
[System.Text.Json.Serialization.JsonPropertyName("new_id")]
|
||||||
public int? NewDepartmentId { get; set; }
|
public long? NewDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置部门名称。
|
/// 获取或设置部门名称。
|
||||||
@@ -67,7 +67,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("parentid")]
|
[Newtonsoft.Json.JsonProperty("parentid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
[System.Text.Json.Serialization.JsonPropertyName("parentid")]
|
||||||
public int? ParentDepartmentId { get; set; }
|
public long? ParentDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置标准年级。
|
/// 获取或设置标准年级。
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyids")]
|
[Newtonsoft.Json.JsonProperty("partyids")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyids")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyids")]
|
||||||
public int[]? DepartmentIdList { get; set; }
|
public long[]? DepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置客户群(即班级群)名称列表。
|
/// 获取或设置客户群(即班级群)名称列表。
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyids")]
|
[Newtonsoft.Json.JsonProperty("partyids")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyids")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyids")]
|
||||||
public int[] DepartmentIdList { get; set; } = default!;
|
public long[] DepartmentIdList { get; set; } = default!;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partyids")]
|
[Newtonsoft.Json.JsonProperty("partyids")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partyids")]
|
[System.Text.Json.Serialization.JsonPropertyName("partyids")]
|
||||||
public int[] DepartmentIdList { get; set; } = default!;
|
public long[] DepartmentIdList { get; set; } = default!;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置观看时长(单位:秒)。
|
/// 获取或设置观看时长(单位:秒)。
|
||||||
|
@@ -71,7 +71,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department")]
|
[Newtonsoft.Json.JsonProperty("department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
||||||
public int[] DepartmentIdList { get; set; } = default!;
|
public long[] DepartmentIdList { get; set; } = default!;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置学生的家长列表。
|
/// 获取或设置学生的家长列表。
|
||||||
|
@@ -30,7 +30,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department")]
|
[Newtonsoft.Json.JsonProperty("department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
||||||
public IList<int> DepartmentIdList { get; set; } = new List<int>();
|
public IList<long> DepartmentIdList { get; set; } = new List<long>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department")]
|
[Newtonsoft.Json.JsonProperty("department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
||||||
public IList<int>? DepartmentIdList { get; set; }
|
public IList<long>? DepartmentIdList { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -26,6 +26,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department")]
|
[Newtonsoft.Json.JsonProperty("department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
||||||
public IList<int> DepartmentIdList { get; set; } = new List<int>();
|
public IList<long> DepartmentIdList { get; set; } = new List<long>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -33,6 +33,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department")]
|
[Newtonsoft.Json.JsonProperty("department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
||||||
public IList<int>? DepartmentIdList { get; set; }
|
public IList<long>? DepartmentIdList { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -140,7 +140,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("allow_party")]
|
[Newtonsoft.Json.JsonProperty("allow_party")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("allow_party")]
|
[System.Text.Json.Serialization.JsonPropertyName("allow_party")]
|
||||||
public int[]? AllowedDepartmentIdList { get; set; }
|
public long[]? AllowedDepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置可见标签 ID 列表。
|
/// 获取或设置可见标签 ID 列表。
|
||||||
@@ -161,7 +161,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("extra_party")]
|
[Newtonsoft.Json.JsonProperty("extra_party")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("extra_party")]
|
[System.Text.Json.Serialization.JsonPropertyName("extra_party")]
|
||||||
public int[]? ExtraDepartmentIdList { get; set; }
|
public long[]? ExtraDepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置额外标签 ID 列表。
|
/// 获取或设置额外标签 ID 列表。
|
||||||
|
@@ -76,7 +76,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("id")]
|
[Newtonsoft.Json.JsonProperty("id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置是否有可写权限。
|
/// 获取或设置是否有可写权限。
|
||||||
|
@@ -44,6 +44,6 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partylist")]
|
[Newtonsoft.Json.JsonProperty("partylist")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partylist")]
|
[System.Text.Json.Serialization.JsonPropertyName("partylist")]
|
||||||
public int[] DepartmentIdList { get; set; } = default!;
|
public long[] DepartmentIdList { get; set; } = default!;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -26,6 +26,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("partylist")]
|
[Newtonsoft.Json.JsonProperty("partylist")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("partylist")]
|
[System.Text.Json.Serialization.JsonPropertyName("partylist")]
|
||||||
public IList<int>? DepartmentIdList { get; set; }
|
public IList<long>? DepartmentIdList { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -19,6 +19,6 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("invalidparty")]
|
[Newtonsoft.Json.JsonProperty("invalidparty")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("invalidparty")]
|
[System.Text.Json.Serialization.JsonPropertyName("invalidparty")]
|
||||||
public int[]? InvalidDepartmentIdList { get; set; }
|
public long[]? InvalidDepartmentIdList { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -263,7 +263,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department")]
|
[Newtonsoft.Json.JsonProperty("department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
||||||
public IList<int> DepartmentIdList { get; set; } = new List<int>();
|
public IList<long> DepartmentIdList { get; set; } = new List<long>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置部门次序列表。
|
/// 获取或设置部门次序列表。
|
||||||
@@ -284,7 +284,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("main_department")]
|
[Newtonsoft.Json.JsonProperty("main_department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("main_department")]
|
[System.Text.Json.Serialization.JsonPropertyName("main_department")]
|
||||||
public int? MainDepartmentId { get; set; }
|
public long? MainDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置直属上级成员账号列表。
|
/// 获取或设置直属上级成员账号列表。
|
||||||
|
@@ -109,7 +109,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department")]
|
[Newtonsoft.Json.JsonProperty("department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
||||||
public int[] DepartmentIdList { get; set; } = default!;
|
public long[] DepartmentIdList { get; set; } = default!;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置部门次序列表。
|
/// 获取或设置部门次序列表。
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("main_department")]
|
[Newtonsoft.Json.JsonProperty("main_department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("main_department")]
|
[System.Text.Json.Serialization.JsonPropertyName("main_department")]
|
||||||
public int? MainDepartmentId { get; set; }
|
public long? MainDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置直属上级成员账号列表。
|
/// 获取或设置直属上级成员账号列表。
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonIgnore]
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
[System.Text.Json.Serialization.JsonIgnore]
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
public int DepartmentId { get; set; }
|
public long DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置是否递归获取子部门成员。
|
/// 获取或设置是否递归获取子部门成员。
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department")]
|
[Newtonsoft.Json.JsonProperty("department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
||||||
public int[] DepartmentIdList { get; set; } = default!;
|
public long[] DepartmentIdList { get; set; } = default!;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -93,7 +93,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("department")]
|
[Newtonsoft.Json.JsonProperty("department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
[System.Text.Json.Serialization.JsonPropertyName("department")]
|
||||||
public IList<int>? DepartmentIdList { get; set; }
|
public IList<long>? DepartmentIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置部门次序列表。
|
/// 获取或设置部门次序列表。
|
||||||
@@ -114,7 +114,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("main_department")]
|
[Newtonsoft.Json.JsonProperty("main_department")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("main_department")]
|
[System.Text.Json.Serialization.JsonPropertyName("main_department")]
|
||||||
public int? MainDepartmentId { get; set; }
|
public long? MainDepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置直属上级成员账号列表。
|
/// 获取或设置直属上级成员账号列表。
|
||||||
|
@@ -30,7 +30,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("departmentid")]
|
[Newtonsoft.Json.JsonProperty("departmentid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("departmentid")]
|
[System.Text.Json.Serialization.JsonPropertyName("departmentid")]
|
||||||
public int? DepartmentId { get; set; }
|
public long? DepartmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置权限。
|
/// 获取或设置权限。
|
||||||
|
@@ -30,7 +30,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("departmentid")]
|
[Newtonsoft.Json.JsonProperty("departmentid")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("departmentid")]
|
[System.Text.Json.Serialization.JsonPropertyName("departmentid")]
|
||||||
public int? DepartmentId { get; set; }
|
public long? DepartmentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user