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

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

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author lilin
 * @date 2020/2/26 16:53
 */
@Data
@ApiModel
public class InviteResult {

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

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

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

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

    @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 = "")
    private String address;

    @ApiModelProperty(value = "招聘岗位", required = true, example = "")
    private String job;

    @ApiModelProperty(value = "招聘岗位(json)", required = true, example = "")
    private List<InviteJob> jobs;

    @ApiModelProperty(value = "招聘详情(text)", required = true, example = "")
    private String detail;

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

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

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

}
