feat(work): 随官方更新打卡相关接口模型

This commit is contained in:
Fu Diwei
2025-02-01 23:03:34 +08:00
parent 71b7ff3892
commit f1867eb8ce
4 changed files with 23 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
/// </summary> /// </summary>
[Newtonsoft.Json.JsonProperty("sch_checkin_time")] [Newtonsoft.Json.JsonProperty("sch_checkin_time")]
[System.Text.Json.Serialization.JsonPropertyName("sch_checkin_time")] [System.Text.Json.Serialization.JsonPropertyName("sch_checkin_time")]
public long StandardCheckinTimestamp { get; set; } public long ScheduledCheckinTimestamp { get; set; }
/// <summary> /// <summary>
/// 获取或设置打卡地点名称。 /// 获取或设置打卡地点名称。

View File

@@ -97,7 +97,14 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
/// </summary> /// </summary>
[Newtonsoft.Json.JsonProperty("work_days")] [Newtonsoft.Json.JsonProperty("work_days")]
[System.Text.Json.Serialization.JsonPropertyName("work_days")] [System.Text.Json.Serialization.JsonPropertyName("work_days")]
public int StandardDays { get; set; } public int WorkDays { get; set; }
/// <summary>
/// 获取或设置休息天数。
/// </summary>
[Newtonsoft.Json.JsonProperty("rest_days")]
[System.Text.Json.Serialization.JsonPropertyName("rest_days")]
public int RestDays { get; set; }
/// <summary> /// <summary>
/// 获取或设置实际工作时长(单位:秒)。 /// 获取或设置实际工作时长(单位:秒)。

View File

@@ -954,6 +954,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[Newtonsoft.Json.JsonProperty("open_sp_checkin")] [Newtonsoft.Json.JsonProperty("open_sp_checkin")]
[System.Text.Json.Serialization.JsonPropertyName("open_sp_checkin")] [System.Text.Json.Serialization.JsonPropertyName("open_sp_checkin")]
public bool? IsOpenApprovalCheckin { get; set; } public bool? IsOpenApprovalCheckin { get; set; }
/// <summary>
/// 获取或设置打卡交替方式。
/// </summary>
[Newtonsoft.Json.JsonProperty("checkin_method_type")]
[System.Text.Json.Serialization.JsonPropertyName("checkin_method_type")]
public int? CheckinMethodType { get; set; }
} }
} }

View File

@@ -522,6 +522,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[Newtonsoft.Json.JsonProperty("open_sp_checkin")] [Newtonsoft.Json.JsonProperty("open_sp_checkin")]
[System.Text.Json.Serialization.JsonPropertyName("open_sp_checkin")] [System.Text.Json.Serialization.JsonPropertyName("open_sp_checkin")]
public bool? IsOpenApprovalCheckin { get; set; } public bool? IsOpenApprovalCheckin { get; set; }
/// <summary>
/// 获取或设置打卡交替方式。
/// </summary>
[Newtonsoft.Json.JsonProperty("checkin_method_type")]
[System.Text.Json.Serialization.JsonPropertyName("checkin_method_type")]
public int? CheckinMethodType { get; set; }
} }
} }