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

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.red.circle.framework.dto.Command;
import com.red.circle.tool.core.tuple.PennyAmount;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author pengliang on 2023/10/16
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserBankBalanceIncrCmd extends Command {

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

  /**
   * 归属系统.
   */
  @NotNull(message = "sysOrigin required.")
  private String sysOrigin;

  /**
   * 金额.
   */
  @NotNull(message = "amount required.")
  private PennyAmount amount;

}
