feat(work): 随官方更新智能表格内容相关接口模型

This commit is contained in:
Fu Diwei 2025-04-10 09:43:49 +08:00
parent 629620a411
commit e1bd9bebb0
3 changed files with 59 additions and 0 deletions

View File

@ -314,6 +314,23 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[System.Text.Json.Serialization.JsonPropertyName("allow_multiple")]
public bool IsAllowMultiple { get; set; }
}
public class PercentageFieldProperty
{
/// <summary>
/// 获取或设置小数点的位数。
/// </summary>
[Newtonsoft.Json.JsonProperty("decimal_places")]
[System.Text.Json.Serialization.JsonPropertyName("decimal_places")]
public int DecimalPlaces { get; set; }
/// <summary>
/// 获取或设置是否使用千位符。
/// </summary>
[Newtonsoft.Json.JsonProperty("use_separate")]
[System.Text.Json.Serialization.JsonPropertyName("use_separate")]
public bool IsUseSeparate { get; set; }
}
}
/// <summary>
@ -448,6 +465,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[Newtonsoft.Json.JsonProperty("property_ww_group")]
[System.Text.Json.Serialization.JsonPropertyName("property_ww_group")]
public Types.GroupChatFieldProperty? PropertyAsGroupChat { get; set; }
/// <summary>
/// 获取或设置百分数的字段属性。
/// </summary>
[Newtonsoft.Json.JsonProperty("property_percentage")]
[System.Text.Json.Serialization.JsonPropertyName("property_percentage")]
public Types.PercentageFieldProperty? PropertyAsPercentage { get; set; }
}
}

View File

@ -312,6 +312,23 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[System.Text.Json.Serialization.JsonPropertyName("allow_multiple")]
public bool IsAllowMultiple { get; set; }
}
public class PercentageFieldProperty
{
/// <summary>
/// 获取或设置小数点的位数。
/// </summary>
[Newtonsoft.Json.JsonProperty("decimal_places")]
[System.Text.Json.Serialization.JsonPropertyName("decimal_places")]
public int DecimalPlaces { get; set; }
/// <summary>
/// 获取或设置是否使用千位符。
/// </summary>
[Newtonsoft.Json.JsonProperty("use_separate")]
[System.Text.Json.Serialization.JsonPropertyName("use_separate")]
public bool IsUseSeparate { get; set; }
}
}
/// <summary>
@ -453,6 +470,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[Newtonsoft.Json.JsonProperty("property_ww_group")]
[System.Text.Json.Serialization.JsonPropertyName("property_ww_group")]
public Types.GroupChatFieldProperty? PropertyAsGroupChat { get; set; }
/// <summary>
/// 获取或设置百分数的字段属性。
/// </summary>
[Newtonsoft.Json.JsonProperty("property_percentage")]
[System.Text.Json.Serialization.JsonPropertyName("property_percentage")]
public Types.PercentageFieldProperty? PropertyAsPercentage { get; set; }
}
}

View File

@ -98,6 +98,10 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
public class GroupChatFieldProperty : CgibinWedocSmartSheetAddFieldsRequest.Types.Field.Types.GroupChatFieldProperty
{
}
public class PercentageFieldProperty : CgibinWedocSmartSheetAddFieldsRequest.Types.Field.Types.PercentageFieldProperty
{
}
}
/// <summary>
@ -239,6 +243,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[Newtonsoft.Json.JsonProperty("property_ww_group")]
[System.Text.Json.Serialization.JsonPropertyName("property_ww_group")]
public Types.GroupChatFieldProperty? PropertyAsGroupChat { get; set; }
/// <summary>
/// 获取或设置百分数的字段属性。
/// </summary>
[Newtonsoft.Json.JsonProperty("property_percentage")]
[System.Text.Json.Serialization.JsonPropertyName("property_percentage")]
public Types.PercentageFieldProperty? PropertyAsPercentage { get; set; }
}
}