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.Size;
import java.util.List;

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

@Data
@ApiModel
public class PolicyParam {

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

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

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

	@ApiModelProperty(value = "省份", required = true, example = "")
	private Long provinceId;

	@ApiModelProperty(value = "城市", required = true, example = "")
	private Long cityId;

	@ApiModelProperty(value = "区县", required = true, example = "")
	private Long areaId;

}