Laservall_manager_system/VOL.DingTalk/Models/Biz/DingTalkEmployeeUpdate.cs

114 lines
3.7 KiB
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VOL.DingTalk.Models.Biz
{
/// <summary>
/// 20250929 属性文档参考 https://open.dingtalk.com/document/orgapp/update-dedicated-accounts-information
/// </summary>
public class DingTalkEmployeeUpdate
{
/// <summary>
/// 用户ID
/// </summary>
public string userid { get; set; }
/// <summary>
/// 扩展属性长度最大2000个字符。json对象 格式 "{\"爱好\":\"旅游\",\"年龄\":\"24\"}"
/// </summary>
public string extension { get; set; }
/// <summary>
/// 钉钉企业账号的登录名。
/// </summary>
public string? loginId { get; set; }
/// <summary>
/// 直属主管的userId。
/// </summary>
public string? manager_userid { get; set; }
/// <summary>
/// 通讯录语言,取值。
/// </summary>
public string? language { get; set; }
/// <summary>
/// 分机号长度最大50个字符。
/// </summary>
public string? telephone { get; set; }
/// <summary>
/// 是否号码隐藏:
/// </summary>
public string? hide_mobile { get; set; }
/// <summary>
/// 入职时间UNIX时间戳单位毫秒。
/// </summary>
public string? hired_date { get; set; }
/// <summary>
/// 职位长度最大200个字符。
/// </summary>
public string? title { get; set; }
/// <summary>
/// 企业账号员工的企业邮箱类型。
/// </summary>
public string? org_email_type { get; set; }
/// <summary>
/// 企业账号手机号。
/// </summary>
public string? avatarMediaId { get; set; }
/// <summary>
/// 员工在对应的部门中的职位。
/// </summary>
public string dept_title_list { get; set; }
/// <summary>
/// 办公地点长度最大100个字符。
/// </summary>
public string? work_place { get; set; }
/// <summary>
/// 员工在对应的部门中的排序。
/// </summary>
public string? dept_order_list { get; set; }
/// <summary>
/// 是否开启高管模式默认值false。
/// </summary>
public string? senior_mode { get; set; }
/// <summary>
/// 备注长度最大2000个字符。
/// </summary>
public string? remark { get; set; }
/// <summary>
/// 企业邮箱
/// </summary>
public string? org_email { get; set; }
/// <summary>
/// 用户名称长度最大80个字符。
/// </summary>
public string? name { get; set; }
/// <summary>
/// 企业账号的昵称。
/// </summary>
public string? nickname { get; set; }
/// <summary>
/// 企业账号手机号。
/// </summary>
public string? exclusive_mobile { get; set; }
/// <summary>
/// 强制更新的字段,支持清空指定的字段,多个字段之间使用逗号分隔。目前支持字段: manager_userid、org_email。
/// </summary>
public string? force_update_fields { get; set; }
/// <summary>
/// 所属部门ID列表。
/// </summary>
public string? dept_id_list { get; set; }
/// <summary>
/// 工号
/// </summary>
public string? job_number { get; set; }
/// <summary>
/// 邮箱
/// </summary>
public string? email { get; set; }
}
}