package com.cool.store.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zhangchenbiao
 * @FileName: AddShopRequest
 * @Description:新增店铺
 * @date 2024-04-16 19:54
 */
@Data
public class AddShopRequest {

    @NotNull
    @ApiModelProperty("线索id")
    private Long lineId;

    @NotEmpty
    @ApiModelProperty("店铺名称")
    private List<String> shopNameList;

    public AddShopRequest() {
    }

    public AddShopRequest(Long lineId, List<String> shopNameList) {
        this.lineId = lineId;
        this.shopNameList = shopNameList;
    }
}
