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

import com.red.circle.framework.dto.Command;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author pengliang on 2024/2/27
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class UserSwitchUsePropsCmd extends Command {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 用户id.
   */
  @NotNull(message = "userId required.")
  private Long userId;

  /**
   * 道具id.
   */
  @NotNull(message = "propsId required.")
  private Long propsId;

}
