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

import com.alibaba.fastjson.annotation.JSONField;
import com.brframework.commoncms.annatotion.column.HideColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @date 2020-02-21 11:47:29
 * @author lilin
 */

@Data
@ApiModel
public class ProjectResult {

	@ApiModelProperty(value = "序号", required = true, example = "1")
	private Long id;

	@ApiModelProperty(value = "发布者", required = true, example = "")
	@HideColumn(selectShow = false)
	private Long publisher;

	@ApiModelProperty(value = "账号", required = true, example = "")
	private String account;

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

	@ApiModelProperty(value = "项目编号", required = true, example = "")
	private String projectNo;

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

	@ApiModelProperty(value = "项目状态(1征集中 2已对接 3已终止)", required = true, example = "")
	@HideColumn(selectShow = false)
	private Integer status;

	@ApiModelProperty(value = "项目状态", required = true, example = "")
	private String statusTitle;

	@ApiModelProperty(value = "项目类型(1技术开发 2知识产权许可 3成果转让 4技术咨询 5成果转移合作)", required = true, example = "")
	@HideColumn(selectShow = false)
	private Integer type;

	@ApiModelProperty(value = "项目类型", required = true, example = "")
	private String typeTitle;

	@ApiModelProperty(value = "项目价格", required = true, example = "")
	@HideColumn(selectShow = false)
	private BigDecimal price;

	@ApiModelProperty(value = "项目价格(￥)", required = true, example = "")
	private String priceStr;

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

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

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

	@ApiModelProperty(value = "公开状态", required = true, example = "")
	private String publicityTitle;

	@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 String verifyTitle;

	@ApiModelProperty(value = "上架状态", required = true, example = "")
	private String upperTitle;

	@ApiModelProperty(value = "待处理数量", required = true, example = "")
	private Integer handleTotal;

	@ApiModelProperty(value = "公开状态(1公开 2隐私 3平台可见)", required = true, example = "")
	@HideColumn(selectShow = false)
	private Integer publicity;

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

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

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




}