All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.chanjar.weixin.cp.bean.external.WxCpUserTransferCustomerReq Maven / Gradle / Ivy

There is a newer version: 4.6.7.B
Show newest version
package me.chanjar.weixin.cp.bean.external;

import com.google.gson.annotations.SerializedName;
import lombok.Getter;
import lombok.Setter;
import me.chanjar.weixin.common.annotation.Required;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * 转接在职成员的客户给其他成员,请求对象
 *
 * @author pg  created on  2021年6月21日
 */
@Getter
@Setter
public class WxCpUserTransferCustomerReq implements Serializable {
  private static final long serialVersionUID = -309819538677411801L;
  /**
   * 原跟进成员的userid
   */
  @SerializedName("handover_userid")
  @Required
  private String handOverUserid;
  /**
   * 接替成员的userid
   */
  @SerializedName("takeover_userid")
  @Required
  private String takeOverUserid;
  /**
   * 客户的external_userid列表,每次最多分配100个客户
   */
  @SerializedName("external_userid")
  @Required
  private List externalUserid;
  /**
   * 转移成功后发给客户的消息,最多200个字符,不填则使用默认文案
   */
  @SerializedName("transfer_success_msg")
  private String transferMsg;

  /**
   * To json string.
   *
   * @return the string
   */
  public String toJson() {
    return WxCpGsonBuilder.create().toJson(this);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy