package com.softwarebr.nunu.domain;

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

import javax.validation.constraints.NotNull;

/**
 * 热门需求
 * @author lilin
 * @date 2020/2/26 16:53
 */
@Data
@ApiModel
public class HotDemand {

    @ApiModelProperty(value = "资源类型(1.项目资源 2.招聘资源 3.载体资源 )", required = true, example = "")
    @NotNull(message = "资源类型不能为空")
    private Integer resourceType;

    @ApiModelProperty(value = "资源对象id", required = true, example = "")
    @NotNull(message = "资源对象id能为空")
    private Long targetId;
}
