package com.softwarebr.nunu.json.api.center;

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

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 联系方式申请
 * @author lilin
 * @date 2020/2/26 16:53
 */
@Data
@ApiModel
public class PropertyApplyParam {

    @ApiModelProperty(value = "申请原因", required = true, example = "")
    @NotEmpty(message = "申请原因不能为空")
    private String reason;

    @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;
}
