39 lines
1.3 KiB
C#
39 lines
1.3 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
|
|||
|
|
namespace Alipay.AopSdk.Core.Domain
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// KoubeiCraftsmanDataWorkCreateModel Data Structure.
|
|||
|
|
/// </summary>
|
|||
|
|
[Serializable]
|
|||
|
|
public class KoubeiCraftsmanDataWorkCreateModel : AopObject
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 服务商、服务商员工、商户、商户员工等口碑角色操作时必填,对应为《koubei.member.data.oauth.query》中的auth_code,默认有效期24小时;isv自身角色操作的时候,无需传该参数
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("auth_code")]
|
|||
|
|
public string AuthCode { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 口碑手艺人id。是创建手艺人接口koubei.craftsman.data.provider.create返回的craftsman_id,或通过查询手艺人信息接口koubei.craftsman.data.provider查询craftsman_id
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("craftsman_id")]
|
|||
|
|
public string CraftsmanId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 作品所属门店id列表。可通过批量查询手艺人信息接口koubei.craftsman.data.provider.batchquery,查询手艺人所属的门店的shop_id。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("shop_ids")]
|
|||
|
|
|
|||
|
|
public List<string> ShopIds { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 作品列表
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("works")]
|
|||
|
|
|
|||
|
|
public List<CraftsmanWorkCreateOpenModel> Works { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|