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

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

/**
 * @author pengliang on 2023/10/15
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ReduceDaysAndUnUseCmd extends Command {

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

  /**
   * 道具id.
   */
  @NotNull(message = "propsIds required.")
  private Set<Long> propsIds;

  /**
   * 天.
   */
  @NotNull(message = "reduceDays required.")
  private Integer reduceDays;
}
