package com.red.circle.other.app.dto.cmd.material;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.common.business.dto.cmd.AppExtCommand;
import com.red.circle.other.inner.enums.material.BadgeConfigTypeEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author xiongcheng on 2024/3/20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ViewOtherBadgeQueryCmd extends AppExtCommand {

  /**
   * 徽章类型.
   */
  private BadgeConfigTypeEnum type;

  @JsonSerialize(using = ToStringSerializer.class)
  private Long userId;
}
