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

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 支付收据.
 *
 * @author pengliang on 2022/10/2
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PayPlaceAnOrderReceiptCmd implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 收据id.
   *
   * @eo.required
   */
  @NotNull(message = "receiptId required.")
  private String receiptId;

  /**
   * 渠道id.
   *
   * @eo.required
   */
  @NotNull(message = "channelId required.")
  private Long channelId;

  /**
   * 厂商id.
   *
   * @eo.required
   */
  @NotNull(message = "factoryId required.")
  private Long factoryId;

}
