package com.ylx.merchant.domain.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ylx.project.domain.bookMerchant.vo.ProjectInfoVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("同城搭子商户技能分页查询DTO")
public class MerchantProjectDTO extends Page<ProjectInfoVO> implements Serializable {
    private static final long serialVersionUID = -7015224259717934375L;

    @NotNull(message = "商户ID不能为空")
    @ApiModelProperty("商户ID")
    private Long id;

    @ApiModelProperty("服务类目ID")
    private Long categoryId;

}
