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 pengliang on 2021/7/6
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class FreightShipSendCmd 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;

}
