using System.Text.Json.Serialization;

namespace XPrintServer.Api.Entities.Vol
{
    public class Model
    {
        /// <summary>
        /// 模特图URL
        /// </summary>
        [JsonPropertyName("url")]
        public string Url { get; set; } = string.Empty;

        /// <summary>
        /// 模特保护区域图URL
        /// 输入格式：PNG格式，保护区域为255，非保护区域为0
        /// 上传时需要同步修改keep_head/keep_hand/keep_foot参数
        /// 若同时上传protect_mask_url和keep_head/keep_hand/keep_foot字段，则取并集
        /// </summary>
        [JsonPropertyName("protect_mask_url")]
        public string ProtectMaskUrl { get; set; } = string.Empty;
    }
}
