package com.red.circle.other.inner.model.cmd.user;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.Command;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户活动月度领取记录
 * </p>
 *
 * @author pengshigang
 * @since 2021-06-19
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class UserActivityRewardReceiveRecordCmd extends Command {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 用户ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long userId;

  /**
   * 充值年月(yyyyMM).
   */
  private Integer rechargeDate;

  /**
   * 活动规则ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long activityId;

}
