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

import com.softwarebr.nunu.domain.InvestInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 投资机构
 * @author lilin
 * @date 2020-03-10 11:09:00
 */
@Data
@ApiModel
public class InvestOrgParam {

    @ApiModelProperty(value = "公司名称", required = true, example = "")
    @NotEmpty(message = "公司名称不能为空")
    private String companyName;

    @ApiModelProperty(value = "公司类型(1投资机构公司 2投资基金公司)", required = true, example = "")
    @NotNull(message = "请选择公司类型")
    private Integer companyType;

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

    @ApiModelProperty(value = "公司简介", required = true, example = "")
    private String description;

    @ApiModelProperty(value = "公司背景(text)", required = true, example = "")
    private String backGround;

    @ApiModelProperty(value = "已投项目", required = true, example = "")
    private List<InvestInfo> investInfo;

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

    @ApiModelProperty(value = "联系方式", required = true, example = "")
    @NotEmpty(message = "联系方式不能为空")
    private String contactPhone;

}
