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 lilin
 * @date 2020/2/26 16:53
 */
@Data
@ApiModel
public class HotDemandResult {

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

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

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


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


    @ApiModelProperty(value = "招聘会名称", required = true, example = "")
    private String inviteName;

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

    /*---------字段共用--------*/
    @ApiModelProperty(value = "资源类型(1.项目资源 2.招聘资源 3.载体资源 )", required = true, example = "")
    private Integer resourceType;

    @ApiModelProperty(value = "资源对象id", required = true, example = "")
    private Long targetId;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间", required = true, example = "")
    private LocalDateTime startDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间", required = true, example = "")
    private LocalDateTime endDate;

    @ApiModelProperty(value = "地址", required = true, example = "")
    private String address;

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

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

}
