NewGaoKaoApi/PaymentSDK/AliPay/Domain/KoubeiCraftsmanDataProvider...

64 lines
2.3 KiB
C#
Raw Permalink 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;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// KoubeiCraftsmanDataProviderBatchqueryModel Data Structure.
/// </summary>
[Serializable]
public class KoubeiCraftsmanDataProviderBatchqueryModel : AopObject
{
/// <summary>
/// 服务商、服务商员工、商户、商户员工等口碑角色操作时必填,对应为 koubei.member.data.oauth.query 中的 auth_code默认有效期24小时ISV自身角色操作的时候无需传该参数
/// </summary>
[XmlElement("auth_code")]
public string AuthCode { get; set; }
/// <summary>
/// 手艺人id (如果传入craftsman_ids会忽略其他参数注意不能与shop_id同时为空),以数组方式传值
/// </summary>
[XmlArray("craftsman_ids")]
[XmlArrayItem("string")]
public List<string> CraftsmanIds { get; set; }
/// <summary>
/// 手艺人外部id如果没有传craftsman_ids传了craftsman_external_ids会忽略其他参数注意不能与shop_id 同时为空)
/// </summary>
[XmlArray("out_craftsman_ids")]
[XmlArrayItem("string")]
public List<string> OutCraftsmanIds { get; set; }
/// <summary>
/// 页码大于0最大为int的最大值
/// </summary>
[XmlElement("page_no")]
public string PageNo { get; set; }
/// <summary>
/// 每页的条数大于0最大不超过100条
/// </summary>
[XmlElement("page_size")]
public string PageSize { get; set; }
/// <summary>
/// 手艺人码对应的门店,只有指定了码门店字段,才会返回手艺人码信息
/// </summary>
[XmlElement("qr_code_shop_id")]
public string QrCodeShopId { get; set; }
/// <summary>
/// 是否推荐 (true 返回在c端展示的手艺人false 返回c端隐藏的手艺人不传表示不过滤
/// </summary>
[XmlElement("recommend")]
public bool Recommend { get; set; }
/// <summary>
/// 口碑门店id不能与craftsman_ids和out_craftsman_ids同时为空
/// </summary>
[XmlElement("shop_id")]
public string ShopId { get; set; }
}
}