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

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author ljr
 * @date 2020/2/26 16:53
 * @description:
 */
@Data
@ApiModel
public class ApiProjectResult {

    @ApiModelProperty(value = "项目id", hidden = true, example = "1")
    private Long id;

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

    @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 projectName;

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

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

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

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

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

    @ApiModelProperty(value = "项目价格(-1 面议)", required = true, example = "2")
    private BigDecimal price;

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

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

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