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

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author pengliang on 2021/1/18
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserLevelCmd extends AppExtCommand {

  @NotNull(message = "userId required.")
  private Long userId;

  @NotNull(message = "type required.")
  private LevelType type;

  public enum LevelType {
    /**
     * 财富
     */
    WEALTH,
    /**
     * 魅力
     */
    CHARM
  }

}
