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

import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author pengliang on 2021/12/6
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class DelAssociatedChannelsCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 厂商code.
   */
  @NotBlank
  private String factoryCode;

}
