using System.Text.Json.Serialization;

namespace Essensoft.Paylink.Alipay.Domain
{
    /// <summary>
    /// ContentObjectRelationForOpenapi Data Structure.
    /// </summary>
    public class ContentObjectRelationForOpenapi : AlipayObject
    {
        /// <summary>
        /// 对象id,如关联店铺则是shopId
        /// </summary>
        [JsonPropertyName("object_id")]
        public string ObjectId { get; set; }

        /// <summary>
        /// 对象类型，内容的关联对象类型。  SHOP代表店铺，  ITEM代表商品
        /// </summary>
        [JsonPropertyName("object_type")]
        public string ObjectType { get; set; }
    }
}
