feat(work): 随官方更新家校沟通学生管理相关接口模型

This commit is contained in:
Fu Diwei 2022-10-12 16:42:11 +08:00
parent dfb8f0e58f
commit 8febfe5aef
8 changed files with 54 additions and 4 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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]
}

View File

@ -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]
}

View File

@ -1,5 +1,7 @@
{
"student_userid": "zhangsan",
"mobile": "10000000000",
"to_invite": false,
"name": "张三",
"department": [1, 2]
}

View File

@ -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]
}