NewGaoKaoApi/PaymentSDK/AliPay/Domain/KoubeiShopExternalDataSyncM...

49 lines
1.9 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>
/// KoubeiShopExternalDataSyncModel Data Structure.
/// </summary>
[Serializable]
public class KoubeiShopExternalDataSyncModel : AopObject
{
/// <summary>
/// 操作类型Bind:建立口碑门店和饿了么外卖关系 unBind解除口碑门店和饿了么外卖关系 sync同步门店营业时间、营业状态、店铺状态
/// </summary>
[XmlElement("action")]
public string Action { get; set; }
/// <summary>
/// shop_status:OPEN生效||CLOSE失效 ,饿了么签约状态 business_time0800-1130,1300-2030营业时间多个逗号分隔 business_statusOPEN营业||CLOSE歇业 饿了么营业状态。 ext_infomap结构, 记录bindType-绑定类型: ELE_LEADS(饿了么leads开店)、KB_ELE_OPEN_SHOP_ONLINE(口碑在线开饿了么门店)、KB_ELE_BIND_ONLINE(口碑接饿了么在线修改绑定关系)、ELE_ALGO_CALC(饿了么算法计算)、ELE_OPERATION(饿了么运营操作); bindRelation-绑定关系:STRONG(强)、WEAK(弱)
/// </summary>
[XmlElement("content")]
public string Content { get; set; }
/// <summary>
/// 数据来源。固定值:elm
/// </summary>
[XmlElement("data_source")]
public string DataSource { get; set; }
/// <summary>
/// 数据版本(时间戳)。用于判断请求是否乱序。
/// </summary>
[XmlElement("data_version")]
public long DataVersion { get; set; }
/// <summary>
/// 外部的门店id
/// </summary>
[XmlElement("external_shop_id")]
public string ExternalShopId { get; set; }
/// <summary>
/// 口碑店铺Id
/// </summary>
[XmlElement("shop_id")]
public string ShopId { get; set; }
}
}