NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayEcoFilePathQueryModel.cs

37 lines
1.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayEcoFilePathQueryModel Data Structure.
/// </summary>
[Serializable]
public class AlipayEcoFilePathQueryModel : AopObject
{
/// <summary>
/// 先计算文件md5值在对该md5值进行base64编码
/// </summary>
[XmlElement("content_md_5")]
public string ContentMd5 { get; set; }
/// <summary>
/// 目标文件的MIME类型
/// </summary>
[XmlElement("content_type")]
public string ContentType { get; set; }
/// <summary>
/// 文件名称(必须带上文件扩展名,不然会导致后续发起流程校验过不去 示例:合同.pdf
/// </summary>
[XmlElement("file_name")]
public string FileName { get; set; }
/// <summary>
/// 文件大小单位byte。最大允许上传30Mb
/// </summary>
[XmlElement("file_size")]
public long FileSize { get; set; }
}
}