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

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 经销商发送给货运代理.
 *
 * @author zongpubin on 2023/5/23
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class FreightDealerShipCmd extends AppExtCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 接收用户(货运代理).
   *
   * @eo.required
   */
  @NotNull(message = "acceptUserId required.")
  private Long acceptUserId;

  /**
   * 数量.
   *
   * @eo.required
   */
  @NotNull(message = "quantity required.")
  private BigDecimal quantity;

  /**
   * 支付密码.
   */
  private String password;

}
