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

import com.alibaba.fastjson.annotation.JSONField;
import com.softwarebr.nunu.domain.InvestInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.time.LocalDateTime;
import java.util.List;

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

    @ApiModelProperty(value = "投资机构id", required = true, example = "1")
    private Long id;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间", required = true, example = "2018-03-12 21:32:33")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "用户id", required = true, example = "")
    private Long memberId;

    @ApiModelProperty(value = "公司名称", required = true, example = "")
    private String companyName;

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

    @ApiModelProperty(value = "公司封面图", required = true, example = "")
    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> invests;

    @ApiModelProperty(value = "已投项目(text,json字符串)", hidden = true, example = "")
    private String investInfos;

    @ApiModelProperty(value = "联系人", required = true, example = "")
    private String contact;

    @ApiModelProperty(value = "联系方式", required = true, example = "")
    private String contactPhone;

    @ApiModelProperty(value = "电子邮箱", required = true, example = "")
    private String email;

    @ApiModelProperty(value = "是否上架(0下架 1上架) ", required = true, example = "")
    private Integer status;

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

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

}
