package com.softwarebr.nunu.json.admin.go;

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

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

/**
 * @date 2020-02-19 15:35:44
 * @author lilin
 */

@Data
@ApiModel
public class PolicyVerifyParam {

    @ApiModelProperty(value = "标签分类", required = true, example = "")
    @Size(min = 1, message = "请选择标签分类")
    private List<PolicyLabelParam> labelParams;

    @ApiModelProperty(value = "来源", required = true, example = "")
    @NotEmpty(message = "来源不能为空")
    private String source;

    @ApiModelProperty(value = "政策名称", required = true, example = "")
    @NotEmpty(message = "政策名称不能为空")
    private String title;

    @ApiModelProperty(value = "政策详情 ", required = true, example = "")
    @NotEmpty(message = "政策详情不能为空")
    private String content;

    @ApiModelProperty(value = "审核状态(2审核通过 3审核不通过)", required = true, example = "")
    @NotNull(message = "审核状态")
    private Integer verify;

    @ApiModelProperty(value = "审核备注", required = true, example = "")
    private String remark;
}
