package com.softwarebr.nunu.entity.hall;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.time.LocalDateTime;

/**
 * 创新项目
 * @date 2020-02-25 12:03:51
 * @author lilin
 */

@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name="hall_invest")
@Builder
public class Invest {

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@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 = "发布者", required = true, example = "")
	private Long publisher;

	@ApiModelProperty(value = "项目名称", required = true, example = "")
	private String name;

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

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

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

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

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

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

	@ApiModelProperty(value = "项目封面图", required = true, example = "")
	@Column(length = Integer.MAX_VALUE)
	private String coverUri;

	@ApiModelProperty(value = "项目图片(多图逗号隔开)", required = true, example = "")
	@Column(length = Integer.MAX_VALUE)
	private String detailImagesUri;

	@ApiModelProperty(value = "项目视频", required = true, example = "")
	@Column(length = Integer.MAX_VALUE)
	private String mediaUri;

	@ApiModelProperty(value = "附件", required = true, example = "")
	@Column(length = Integer.MAX_VALUE)
	private String attachment;

	@ApiModelProperty(value = "项目简介(text)", required = true, example = "")
	@Column(length = Integer.MAX_VALUE)
	private String description;

	@ApiModelProperty(value = "项目亮点(text)", required = true, example = "")
	@Column(length = Integer.MAX_VALUE)
	private String lightPoint;

	@ApiModelProperty(value = "团队人数", required = true, example = "")
	private Integer teamNumber;

	@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 = "公开状态(1公开 2隐私 3平台可见)", required = true, example = "")
	private Integer publicity;

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

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

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

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

	@ApiModelProperty(value = "是否推荐至首页(0否 1是)", required = true, example = "")
	private Integer indexType;

}