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

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import com.red.circle.other.inner.enums.material.PropsCommodityType;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 道具类型.
 *
 * @author pengliang on 2021/1/22
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class PropsStoreBackpackTypeQryCmd extends AppExtCommand {

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

  /**
   * 道具类型.
   *
   * @eo.required
   */
  @NotNull(message = "type required.")
  private PropsCommodityType type;

}
