using System.Text.Json.Serialization;

namespace XPrintServer.Api.Dto
{
    public class RequestImage
    {

        /// <summary>
        /// 位图图片的URL
        /// </summary>
        [JsonPropertyName("url")]
        public string Url { get; set; } = string.Empty;

        /// <summary>
        /// OSS的ObjectName
        /// </summary>
        [JsonPropertyName("object_name")]
        public string ObjectName { get; set; } = string.Empty;
    }
}
