// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。 // // 本项目主要遵循 MIT 许可证和 Apache 许可证(版本 2.0)进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。 // // 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任! using Admin.Net.Plugin.DingTalk.RequestProxy.BaseTypes; using System.Text.Json.Serialization; namespace Admin.Net.Plugin.DingTalk.RequestProxy.User.DTO; public class UserListResponse : DingtalkResponseErrorResult> { } public class UserListResponseResultDomain { /// /// 是否激活了钉钉 /// public bool Active { get; set; } /// /// 是否为企业的管理员 /// public bool Admin { get; set; } /// /// 头像地址 /// public string Avatar { get; set; } /// /// 是否为企业的老板 /// public bool Boss { get; set; } /// /// 所属部门id列表 /// [JsonProperty("dept_id_list")] [JsonPropertyName("dept_id_list")] public List DeptIdList { get; set; } /// /// 员工在部门中的排序 /// [JsonProperty("dept_order")] [JsonPropertyName("dept_order")] public long DeptOrder { get; set; } /// /// 员工邮箱 /// public string Email { get; set; } /// /// 是否企业账号 /// [JsonProperty("exclusive_account")] [JsonPropertyName("exclusive_account")] public bool ExclusiveAccount { get; set; } /// /// 扩展属性 /// public string Extension { get; set; } /// /// 是否号码隐藏 /// [JsonProperty("hide_mobile")] [JsonPropertyName("hide_mobile")] public bool HideMobile { get; set; } /// /// 入职时间,Unix时间戳,单位毫秒 /// [JsonProperty("hired_date")] [JsonPropertyName("hired_date")] public long HiredDate { get; set; } /// /// 员工工号 /// [JsonProperty("job_number")] [JsonPropertyName("job_number")] public string JobNumber { get; set; } /// /// 是否是部门的主管 /// public bool Leader { get; set; } /// /// 手机号码 /// public string Mobile { get; set; } /// /// 用户姓名 /// public string Name { get; set; } /// /// 员工的企业邮箱 /// [JsonProperty("org_email")] [JsonPropertyName("org_email")] public string OrgEmail { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 国际电话区号 /// [JsonProperty("state_code")] [JsonPropertyName("state_code")] public string StateCode { get; set; } /// /// 分机号 /// public string Telephone { get; set; } /// /// 职位 /// public string Title { get; set; } /// /// 用户在当前开发者企业账号范围内的唯一标识 /// public string Unionid { get; set; } /// /// 用户的userId /// public string UserId { get; set; } /// /// 办公地点 /// [JsonProperty("work_place")] [JsonPropertyName("work_place")] public string WorkPlace { get; set; } }