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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotNull;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 国家支持渠道.
 * </p>
 *
 * @author pengliang
 * @since 2021-11-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysPayCountryChannelCmd extends CommonCommand {

  private static final long serialVersionUID = 1L;

  /**
   * 开通支付国家id.
   */
  @NotNull
  @JsonSerialize(using = ToStringSerializer.class)
  private Long payCountryId;

  /**
   * 自家渠道code.
   */
  @NotNull
  private List<String> channelCodes;

}
