package com.cool.store.request;

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

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


/**
 * @author wxp
 */
@ApiModel(value = "区域配置")
@Data
public class RegionAreaConfigAddRequest {

    @ApiModelProperty("区域id")
    @NotNull(message = "区域id不能为空")
    private Long regionId;

    @ApiModelProperty("省市集合")
    private List<Long> areaIdList;

}
