package com.ylx.home.category.domain.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("项目推荐DTO")
public class ProjectRecommendDTO extends Page<ProjectRecommendDTO> implements Serializable {
    private static final long serialVersionUID = 4958777236645803139L;

    @NotBlank(message = "城市编码不能为空")
    @ApiModelProperty("城市编码")
    private String cityCode;

    @NotNull(message = "服务标签不能为空")
    @ApiModelProperty("服务标签: 1=按摩 2=同城陪玩")
    private Integer projectType;

}
