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

me.chanjar.weixin.channel.bean.coupon.UserCoupon Maven / Gradle / Ivy

There is a newer version: 4.7.1.B
Show newest version
package me.chanjar.weixin.channel.bean.coupon;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 用户优惠券
 *
 * @author Zeyes
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class UserCoupon extends UserCouponIdInfo {

  private static final long serialVersionUID = -4777537717885622888L;
  /** 优惠券状态 {@link me.chanjar.weixin.channel.enums.UserCouponStatus} */
  @JsonProperty("status")
  private Integer status;

  /** 优惠券派发时间 */
  @JsonProperty("create_time")
  private Long createTime;

  /** 优惠券更新时间 */
  @JsonProperty("update_time")
  private Long updateTime;

  /** 优惠券生效时间 */
  @JsonProperty("start_time")
  private Long startTime;

  /** 优惠券失效时间 */
  @JsonProperty("end_time")
  private Long endTime;

  /** 附加信息 */
  @JsonProperty("ext_info")
  private UserExtInfo extInfo;

  /** 优惠券使用的订单id */
  @JsonProperty("order_id")
  private String orderId;

  /** 优惠券金额 */
  @JsonProperty("discount_fee")
  private Integer discountFee;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy