emoticon_api/Infrastructure/Kuaidi100/Common/Request/Cloud/ImageInfo.cs
2023-10-20 21:58:42 +08:00

28 lines
846 B
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;
namespace Common.Request.cloud
{
public class ImageInfo {
/// <summary>
/// BASE_64base64 图片格式URL图片地址QR_CODE二维码CODE_128code128格式的条形码
/// </summary>
public string type {get; set;}
/// <summary>
/// 图片内容
/// </summary>
public string content {get; set;}
/// <summary>
/// 图片宽度
/// </summary>
public string width {get; set;}
/// <summary>
/// 图片高度
/// </summary>
public string height {get; set;}
public override string ToString()
{
return JsonConvert.SerializeObject(this,Formatting.Indented,new JsonSerializerSettings(){NullValueHandling = NullValueHandling.Ignore});
}
}
}