mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
feat(work): 随官方更新家校沟通学生管理相关接口模型
This commit is contained in:
parent
dfb8f0e58f
commit
8febfe5aef
@ -25,6 +25,20 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置手机号码。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("mobile")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("mobile")]
|
||||
public string? MobileNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否发起邀请。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("to_invite")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("to_invite")]
|
||||
public bool? RequireInvite { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置学生所在的部门 ID(即班级)列表。
|
||||
/// </summary>
|
||||
|
@ -32,6 +32,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置手机号码。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("mobile")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("mobile")]
|
||||
public string? MobileNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置学生所在的部门 ID(即班级)列表。
|
||||
/// </summary>
|
||||
|
@ -21,6 +21,20 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置手机号码。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("mobile")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("mobile")]
|
||||
public string? MobileNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否发起邀请。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("to_invite")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("to_invite")]
|
||||
public bool? RequireInvite { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置学生所在的部门 ID(即班级)列表。
|
||||
/// </summary>
|
||||
|
@ -28,6 +28,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置手机号码。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("mobile")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("mobile")]
|
||||
public string? MobileNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置学生所在的部门 ID(即班级)列表。
|
||||
/// </summary>
|
||||
|
@ -2,11 +2,14 @@
|
||||
"students": [
|
||||
{
|
||||
"student_userid": "zhangsan",
|
||||
"mobile": "18000000000",
|
||||
"to_invite": false,
|
||||
"name": "张三",
|
||||
"department": [1, 2]
|
||||
},
|
||||
{
|
||||
"student_userid": "lisi",
|
||||
"mobile": "18000000000",
|
||||
"name": "李四",
|
||||
"department": [3, 4]
|
||||
}
|
||||
|
@ -2,12 +2,14 @@
|
||||
"students": [
|
||||
{
|
||||
"student_userid": "zhangsan",
|
||||
"mobile": "10000000000",
|
||||
"new_student_userid": "zhangsan_new",
|
||||
"name": "张三",
|
||||
"department": [1, 2]
|
||||
},
|
||||
{
|
||||
"student_userid": "lisi",
|
||||
"mobile": "10000000000",
|
||||
"name": "李四",
|
||||
"department": [3, 4]
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
{
|
||||
"student_userid": "zhangsan",
|
||||
"mobile": "10000000000",
|
||||
"to_invite": false,
|
||||
"name": "张三",
|
||||
"department": [1, 2]
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"student_userid": "zhangsan",
|
||||
"new_student_userid": "NEW_ID",
|
||||
"name": "张三",
|
||||
"department": [1, 2]
|
||||
"student_userid": "zhangsan",
|
||||
"mobile": "18000000000",
|
||||
"new_student_userid":"NEW_ID",
|
||||
"name": "张三",
|
||||
"department": [1, 2]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user