package com.red.circle.wallet.inner.model.tmp;

import com.red.circle.framework.dto.Command;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author pengliang on 2024/1/4
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CommonRestApiCmd extends Command {

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

  /**
   * 来源系统.
   */
  @NotBlank(message = "sysOrigin required.")
  private String sysOrigin;
}
