-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
新增接口 - 创建个人信息 - 更新个人信息 【薪酬管理】 新增接口 - 批量查询定调薪原因 - 批量查询员工薪资档案 - 批量获取薪资项分类信息 - 批量查询薪资项 - 批量查询薪资统计指标 - 批量查询薪资方案 Signed-off-by: Vicente.Yu <^@^>
- Loading branch information
Vicente.Yu
committed
May 11, 2024
1 parent
f60eab3
commit 89e0614
Showing
24 changed files
with
12,495 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
115 changes: 115 additions & 0 deletions
115
src/CompensationManagement/GetCompensationV1ChangeReasonsResponseDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
namespace FeishuNetSdk.CompensationManagement; | ||
/// <summary> | ||
/// 批量查询定调薪原因 响应体 | ||
/// <para>批量查询定调薪原因</para> | ||
/// <para>接口ID:7314129756769730564</para> | ||
/// <para>文档地址:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/change_reason/list</para> | ||
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2fcompensation-v1%2fchange_reason%2flist</para> | ||
/// </summary> | ||
public record GetCompensationV1ChangeReasonsResponseDto | ||
{ | ||
/// <summary> | ||
/// <para>调薪原因信息列表</para> | ||
/// <para>必填:是</para> | ||
/// </summary> | ||
[JsonPropertyName("items")] | ||
public ChangeReason[] Items { get; set; } = Array.Empty<ChangeReason>(); | ||
|
||
/// <summary> | ||
/// <para>调薪原因信息列表</para> | ||
/// </summary> | ||
public record ChangeReason | ||
{ | ||
/// <summary> | ||
/// <para>调薪原因ID</para> | ||
/// <para>必填:是</para> | ||
/// <para>示例值:7196951947268589113</para> | ||
/// </summary> | ||
[JsonPropertyName("id")] | ||
public string Id { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// <para>调薪原因名称</para> | ||
/// <para>必填:是</para> | ||
/// <para>示例值:入职调薪</para> | ||
/// </summary> | ||
[JsonPropertyName("name")] | ||
public string Name { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// <para>调薪原因备注</para> | ||
/// <para>必填:是</para> | ||
/// <para>示例值:入职时使用的调薪原因</para> | ||
/// </summary> | ||
[JsonPropertyName("note")] | ||
public string Note { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// <para>启用状态</para> | ||
/// <para>必填:是</para> | ||
/// <para>示例值:1</para> | ||
/// <para>可选值:<list type="bullet"> | ||
/// <item>1:启用</item> | ||
/// <item>0:禁用</item> | ||
/// </list></para> | ||
/// </summary> | ||
[JsonPropertyName("active_status")] | ||
public int ActiveStatus { get; set; } | ||
|
||
/// <summary> | ||
/// <para>多语言名称</para> | ||
/// <para>必填:是</para> | ||
/// <para>最大长度:10</para> | ||
/// <para>最小长度:0</para> | ||
/// </summary> | ||
[JsonPropertyName("i18n_names")] | ||
public I18nContent[] I18nNames { get; set; } = Array.Empty<I18nContent>(); | ||
|
||
/// <summary> | ||
/// <para>多语言名称</para> | ||
/// </summary> | ||
public record I18nContent | ||
{ | ||
/// <summary> | ||
/// <para>语言版本,例如:“zh-CN”、“en-US”</para> | ||
/// <para>必填:否</para> | ||
/// <para>示例值:zh_cn</para> | ||
/// </summary> | ||
[JsonPropertyName("locale")] | ||
public string? Locale { get; set; } | ||
|
||
/// <summary> | ||
/// <para>语言名称</para> | ||
/// <para>必填:否</para> | ||
/// <para>示例值:中文名称</para> | ||
/// </summary> | ||
[JsonPropertyName("value")] | ||
public string? Value { get; set; } | ||
} | ||
|
||
/// <summary> | ||
/// <para>多语言描述</para> | ||
/// <para>必填:是</para> | ||
/// <para>最大长度:10</para> | ||
/// <para>最小长度:0</para> | ||
/// </summary> | ||
[JsonPropertyName("i18n_notes")] | ||
public I18nContent[] I18nNotes { get; set; } = Array.Empty<I18nContent>(); | ||
} | ||
|
||
/// <summary> | ||
/// <para>分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token</para> | ||
/// <para>必填:否</para> | ||
/// <para>示例值:1234452132</para> | ||
/// </summary> | ||
[JsonPropertyName("page_token")] | ||
public string? PageToken { get; set; } | ||
|
||
/// <summary> | ||
/// <para>是否还有更多项</para> | ||
/// <para>必填:是</para> | ||
/// <para>示例值:true</para> | ||
/// </summary> | ||
[JsonPropertyName("has_more")] | ||
public bool HasMore { get; set; } | ||
} |
111 changes: 111 additions & 0 deletions
111
src/CompensationManagement/GetCompensationV1IndicatorsResponseDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
namespace FeishuNetSdk.CompensationManagement; | ||
/// <summary> | ||
/// 批量查询薪资统计指标 响应体 | ||
/// <para>批量查询薪资统计指标</para> | ||
/// <para>接口ID:7314129756769796100</para> | ||
/// <para>文档地址:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/indicator/list</para> | ||
/// <para>JSON地址:https://open.feishu.cn/document_portal/v1/document/get_detail?fullPath=%2fuAjLw4CM%2fukTMukTMukTM%2fcompensation-v1%2findicator%2flist</para> | ||
/// </summary> | ||
public record GetCompensationV1IndicatorsResponseDto | ||
{ | ||
/// <summary> | ||
/// <para>薪资统计指标信息列表</para> | ||
/// <para>必填:是</para> | ||
/// </summary> | ||
[JsonPropertyName("items")] | ||
public Indicator[] Items { get; set; } = Array.Empty<Indicator>(); | ||
|
||
/// <summary> | ||
/// <para>薪资统计指标信息列表</para> | ||
/// </summary> | ||
public record Indicator | ||
{ | ||
/// <summary> | ||
/// <para>薪资统计指标ID</para> | ||
/// <para>必填:是</para> | ||
/// <para>示例值:7196951947228589113</para> | ||
/// </summary> | ||
[JsonPropertyName("id")] | ||
public string Id { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// <para>薪资统计指标名称</para> | ||
/// <para>必填:是</para> | ||
/// <para>示例值:年度现金总和</para> | ||
/// </summary> | ||
[JsonPropertyName("name")] | ||
public string Name { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// <para>薪资统计指标数值类型</para> | ||
/// <para>必填:是</para> | ||
/// <para>示例值:money</para> | ||
/// <para>可选值:<list type="bullet"> | ||
/// <item>money:金额</item> | ||
/// <item>number:数值</item> | ||
/// <item>percent:百分比</item> | ||
/// </list></para> | ||
/// </summary> | ||
[JsonPropertyName("value_type")] | ||
public string ValueType { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// <para>启用状态</para> | ||
/// <para>必填:是</para> | ||
/// <para>示例值:1</para> | ||
/// <para>可选值:<list type="bullet"> | ||
/// <item>1:启用</item> | ||
/// <item>0:禁用</item> | ||
/// </list></para> | ||
/// </summary> | ||
[JsonPropertyName("active_status")] | ||
public int ActiveStatus { get; set; } | ||
|
||
/// <summary> | ||
/// <para>多语言名称</para> | ||
/// <para>必填:是</para> | ||
/// <para>最大长度:10</para> | ||
/// <para>最小长度:0</para> | ||
/// </summary> | ||
[JsonPropertyName("i18n_names")] | ||
public I18nContent[] I18nNames { get; set; } = Array.Empty<I18nContent>(); | ||
|
||
/// <summary> | ||
/// <para>多语言名称</para> | ||
/// </summary> | ||
public record I18nContent | ||
{ | ||
/// <summary> | ||
/// <para>语言版本,例如:“zh-CN”、“en-US”</para> | ||
/// <para>必填:否</para> | ||
/// <para>示例值:zh_cn</para> | ||
/// </summary> | ||
[JsonPropertyName("locale")] | ||
public string? Locale { get; set; } | ||
|
||
/// <summary> | ||
/// <para>语言名称</para> | ||
/// <para>必填:否</para> | ||
/// <para>示例值:中文名称</para> | ||
/// </summary> | ||
[JsonPropertyName("value")] | ||
public string? Value { get; set; } | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// <para>分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token</para> | ||
/// <para>必填:否</para> | ||
/// <para>示例值:1234452132</para> | ||
/// </summary> | ||
[JsonPropertyName("page_token")] | ||
public string? PageToken { get; set; } | ||
|
||
/// <summary> | ||
/// <para>是否还有更多项</para> | ||
/// <para>必填:否</para> | ||
/// <para>示例值:true</para> | ||
/// </summary> | ||
[JsonPropertyName("has_more")] | ||
public bool? HasMore { get; set; } | ||
} |
Oops, something went wrong.