Files
zszq-trs/YLErpDAL/Modules/TradeModule/OAModels.cs
T

85 lines
2.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
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 Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
namespace YLErp.Modules.TradeModule
{
/// <summary>
/// OA接口响应模型
/// </summary>
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; }
}
/// <summary>
/// OA接口响应数据模型
/// </summary>
public class OAResponseData
{
public string url { get; set; }
public string fileid { get; set; }
}
/// <summary>
/// 国联OA接口响应模型
/// </summary>
public class GuoLianOAResponse
{
public int code { get; set; }
public GuoLianOAData data { get; set; }
public string status { get; set; }
}
/// <summary>
/// 国联OA接口响应数据模型
/// </summary>
public class GuoLianOAData
{
public string msg { get; set; }
public string requestid { get; set; }
}
/// <summary>
/// 附件上传接口响应模型
/// </summary>
public class UploadAttachmentResponse
{
public string code { get; set; }
public List<UploadAttachmentData> data { get; set; }
public string status { get; set; }
}
/// <summary>
/// 附件上传接口响应数据模型
/// </summary>
public class UploadAttachmentData
{
public string annexId { get; set; }
public string annexName { get; set; }
}
/// <summary>
/// OA 审批状态查询响应模型(适配新查询接口 /gateway/oaflow/getRequestData
/// </summary>
public class OAStatusQueryResponse
{
public int code { get; set; }
public string status { get; set; }
public string msg { get; set; }
public List<OAFlowData> data { get; set; }
}
/// <summary>
/// OA 流程查询数据模型
/// </summary>
public class OAFlowData
{
public string requestId { get; set; }
public JObject flowInfos { get; set; }
}
}