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

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-25 12:03:51
 * @author lilin
 */

@Data
@ApiModel
public class InvestParam {

	@ApiModelProperty(value = "项目名称", required = true, example = "")
	@NotEmpty(message = "项目名称不能为空")
	private String name;

	@ApiModelProperty(value = "项目阶段(1初创期 2成长期)", required = true, example = "")
	@NotNull(message = "请选择项目阶段")
	private Integer state;

	@ApiModelProperty(value = "融资阶段(1种子轮 2天使轮 3A轮 4 B轮 5C轮 6C轮后)", required = true, example = "")
	@NotNull(message = "请选择融资阶段")
	private Integer investState;

	@ApiModelProperty(value = "行业分类(1互联网 2新材料 3新能源 4环保技术 5先进制造 6高端装备 7新一代信息技术 8生物医药 9大健康 10电子商务 11其它)", required = true, example = "")
	@NotNull(message = "请选择行业分类")
	private Integer industry;

	@ApiModelProperty(value = "省份", required = true, example = "")
	@NotNull(message = "请选择省份")
	private Long provinceId;

	@ApiModelProperty(value = "城市", required = true, example = "")
	@NotNull(message = "请选择城市")
	private Long cityId;

	@ApiModelProperty(value = "区县", required = true, example = "")
	@NotNull(message = "请选择区县")
	private Long areaId;

	@ApiModelProperty(value = "项目封面图", required = true, example = "")
	@NotEmpty(message = "请上传项目封面图")
	private String coverUri;

	@ApiModelProperty(value = "项目图片(多图逗号隔开)", required = true, example = "")
	@NotEmpty(message = "请上传项目图片")
	private String detailImagesUri;

	@ApiModelProperty(value = "项目视频", required = true, example = "")
	@NotEmpty(message = "请上传项目视频")
	private String mediaUri;

	@ApiModelProperty(value = "附件", required = true, example = "")
	@NotEmpty(message = "请上传项目附件")
	private String attachment;

	@ApiModelProperty(value = "项目简介(text)", required = true, example = "")
	@NotEmpty(message = "项目简介不能为空")
	private String description;

	@ApiModelProperty(value = "项目亮点(text)", required = true, example = "")
	@NotEmpty(message = "项目亮点不能为空")
	private String lightPoint;

	@ApiModelProperty(value = "团队介绍", required = true, example = "")
	@Size(min = 1, message = "请填写团队介绍信息")
	private List<TeamParam> teams;

	@ApiModelProperty(value = "项目联系人", required = true, example = "")
	@NotEmpty(message = "项目联系人不能为空")
	private String contact;

	@ApiModelProperty(value = "手机号码", required = true, example = "")
	@NotEmpty(message = "手机号码不能为空")
	private String contactPhone;

	@ApiModelProperty(value = "电子邮箱", required = true, example = "")
	@NotEmpty(message = "电子邮箱不能为空")
	private String email;

}