package com.ruoyi.cms.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.cms.util.excel.LongConverter;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 岗位对象 job
 */
@Data
public class JobExcelVo
{

    @ExcelProperty(value = "职位名称", index = 0)
    @Excel(name = "职位名称")
    @ApiModelProperty("职位名称")
    private String jobTitle;

    @ExcelProperty(value = "职位名称", index = 1,converter = LongConverter.class)
    @Excel(name = "最小薪资", readConverterExp = "元=")
    @ApiModelProperty("最小薪资（元）")
    private Long minSalary;

    @ExcelProperty(value = "职位名称", index = 2,converter = LongConverter.class)
    @Excel(name = "最大薪资", readConverterExp = "元=")
    @ApiModelProperty("最大薪资（元）")
    private Long maxSalary;

    @ExcelProperty(value = "职位名称", index = 3)
    @Excel(name = "学历要求 对应字典education")
    @ApiModelProperty("学历要求 对应字典education")
    private String education;

    @ExcelProperty(value = "职位名称", index = 4)
    @Excel(name = "工作经验要求 对应字典experience")
    @ApiModelProperty("工作经验要求 对应字典experience")
    private String experience;

    @ExcelProperty(value = "职位名称", index = 5)
    @Excel(name = "用人单位名称")
    @ApiModelProperty("用人单位名称")
    private String companyName;

    @ExcelProperty(value = "职位名称", index = 6,converter = LongConverter.class)
    @Excel(name = "招聘人数")
    @ApiModelProperty("招聘人数")
    private Long vacancies;

    @ExcelProperty(value = "职位名称", index = 7)
    @ApiModelProperty("岗位描述")
    private String description;

    @ExcelProperty(value = "职位名称", index = 8)
    @ApiModelProperty("岗位分类")
    private String jobCategory;

    @ExcelProperty(value = "职位名称", index = 9)
    @ApiModelProperty("岗位类型 0疆内 1疆外")
    private String jobType;

    @ExcelProperty(value = "职位名称", index = 10)
    @ApiModelProperty("类型 0常规岗位 1就业见习岗位 2实习实训岗位 3社区实践岗位 4零工 对应字段字典position_type")
    private String type;

    @ExcelProperty(value = "职位名称", index = 11)
    @ApiModelProperty("工作地点")
    private String jobAddress;

    @ExcelProperty(value = "职位名称", index = 12)
    @Excel(name = "岗位区划")
    @ApiModelProperty("岗位区划")
    private String jobLocation;

    @ExcelProperty(value = "联系人", index = 13)
    @ApiModelProperty("联系人")
    private String contactPerson;

    @ExcelProperty(value = "联系人电话", index = 14)
    @ApiModelProperty("联系人电话")
    private String contactPersonPhone;

    @ApiModelProperty("是否发布 0未发布 1发布")
    private Integer isPublish;

    @ApiModelProperty("工作地点区县字典代码")
    private Integer jobLocationAreaCode;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("发布时间")
    private String postingDate;

    @ApiModelProperty("数据来源")
    private String dataSource;
}
