package me.chanjar.weixin.mp.bean.card;

import java.io.Serializable;

/**
 * 卡券返回结果基础类.
 *
 * @author fanxl
 * created on  2019/1/22 0022 10:08
 */
public class BaseWxMpCardResult implements Serializable {
  private static final long serialVersionUID = -3502867243738689870L;

  /**
   * 错误码
   */
  private Integer errcode;

  /**
   * 错误信息
   */
  private String errmsg;

  public boolean isSuccess() {
    return 0 == errcode;
  }
}
