using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; namespace YLErp.Modules.TradeModule { /// /// OA接口响应模型 /// public class OAResponse { public bool success { get; set; } public long time { get; set; } public int messageCode { get; set; } public string message { get; set; } public OAResponseData data { get; set; } } /// /// OA接口响应数据模型 /// public class OAResponseData { public string url { get; set; } public string fileid { get; set; } } /// /// 国联OA接口响应模型 /// public class GuoLianOAResponse { public int code { get; set; } public GuoLianOAData data { get; set; } public string status { get; set; } } /// /// 国联OA接口响应数据模型 /// public class GuoLianOAData { public string msg { get; set; } public string requestid { get; set; } } /// /// 附件上传接口响应模型 /// public class UploadAttachmentResponse { public string code { get; set; } public List data { get; set; } public string status { get; set; } } /// /// 附件上传接口响应数据模型 /// public class UploadAttachmentData { public string annexId { get; set; } public string annexName { get; set; } } /// /// OA 审批状态查询响应模型(适配新查询接口 /gateway/oaflow/getRequestData) /// public class OAStatusQueryResponse { public int code { get; set; } public string status { get; set; } public string msg { get; set; } public List data { get; set; } } /// /// OA 流程查询数据模型 /// public class OAFlowData { public string requestId { get; set; } public JObject flowInfos { get; set; } } }