baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)
This commit is contained in:
commit
c2b0e7be0d
6522 files changed
+3530643
No files matched your search
+55
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace GuangFu.StringTracing.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 钉钉部门响应模型
|
||||
/// </summary>
|
||||
public class DingDingDepartmentResponse
|
||||
{
|
||||
public int errcode { get; set; }
|
||||
public string errmsg { get; set; }
|
||||
public List<DepartmentInfo> result { get; set; }
|
||||
public string request_id { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 钉钉部门信息
|
||||
/// </summary>
|
||||
public class DepartmentInfo
|
||||
{
|
||||
public bool auto_add_user { get; set; }
|
||||
public bool create_dept_group { get; set; }
|
||||
public long dept_id { get; set; }
|
||||
public string name { get; set; }
|
||||
public long parent_id { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 钉钉部门请求模型(获取子部门列表)
|
||||
/// </summary>
|
||||
public class DingDingDepartmentRequest
|
||||
{
|
||||
public string language { get; set; } = "zh_CN";
|
||||
public long dept_id { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 同步结果响应模型
|
||||
/// </summary>
|
||||
public class SyncResult
|
||||
{
|
||||
public bool Success { get; set; }
|
||||
public string Message { get; set; }
|
||||
public int TotalDepartments { get; set; }
|
||||
public int UpdatedCount { get; set; }
|
||||
public int InsertedCount { get; set; }
|
||||
public List<string> Errors { get; set; }
|
||||
|
||||
public SyncResult()
|
||||
{
|
||||
Errors = new List<string>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user