package com.red.circle.wallet.app.dto.cmd;

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 提现命令.
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SalaryWithdrawCmd extends AppExtCommand {

  /**
   * 工资类型.
   */
  @NotBlank(message = "salaryType required.")
  private String salaryType;

  /**
   * 提现金额.
   */
  @NotNull(message = "amount required.")
  @DecimalMin(value = "0.01", message = "amount must > 0")
  private BigDecimal amount;

    /**
     * 接收用户(Transfer 使用)
     */
    private Long acceptUserId;

  /**
   * 手续费比例（千分比）.
   */
//  private Long serviceCharge;

    private Long opUserId;

  /**
   * 备注.
   */
  private String remark;
}
