publish
This commit is contained in:
@@ -2,6 +2,7 @@ package com.ruoyi.cms.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.dromara.easyes.annotation.IndexField;
|
||||
import org.dromara.easyes.annotation.IndexId;
|
||||
@@ -20,100 +21,122 @@ import java.util.Date;
|
||||
@Data
|
||||
public class ESJobDocument
|
||||
{
|
||||
/**
|
||||
* es中的唯一id
|
||||
*/
|
||||
|
||||
@ApiModelProperty("es中的唯一id")
|
||||
@IndexId(type = IdType.NONE)
|
||||
@JsonIgnore
|
||||
private String id;
|
||||
|
||||
/** 公告ID */
|
||||
@ApiModelProperty("岗位id")
|
||||
private Long jobId;
|
||||
|
||||
/** 公告标题 */
|
||||
@ApiModelProperty("公告标题")
|
||||
@IndexField(fieldType = FieldType.TEXT, analyzer = Analyzer.IK_SMART, searchAnalyzer = Analyzer.IK_MAX_WORD)
|
||||
private String jobTitle;
|
||||
|
||||
/** 内容 */
|
||||
@ApiModelProperty("内容")
|
||||
@IndexField(fieldType = FieldType.TEXT, analyzer = Analyzer.IK_SMART, searchAnalyzer = Analyzer.IK_MAX_WORD)
|
||||
private String description;
|
||||
|
||||
/** 公告状态 */
|
||||
@JsonIgnore
|
||||
private String status;
|
||||
|
||||
@ApiModelProperty("最小薪资(元)")
|
||||
private Long minSalary;
|
||||
|
||||
/** 最大薪资(元) */
|
||||
@ApiModelProperty("最大薪资(元)")
|
||||
private Long maxSalary;
|
||||
|
||||
/** 学历要求 对应字典education */
|
||||
@ApiModelProperty("学历要求 对应字典education")
|
||||
private String education;
|
||||
|
||||
/** 工作经验要求 对应字典experience */
|
||||
@ApiModelProperty("工作经验要求 对应字典experience")
|
||||
private String experience;
|
||||
|
||||
/** 用人单位名称 */
|
||||
@ApiModelProperty("用人单位名称")
|
||||
private String companyName;
|
||||
|
||||
/** 工作地点 */
|
||||
@ApiModelProperty("工作地点")
|
||||
private String jobLocation;
|
||||
|
||||
@ApiModelProperty("工作地点区县字典代码")
|
||||
private Integer jobLocationAreaCode;
|
||||
|
||||
/** 发布时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@ApiModelProperty("发布时间")
|
||||
private Date postingDate;
|
||||
|
||||
/** 招聘人数 */
|
||||
@ApiModelProperty("招聘人数")
|
||||
private Long vacancies;
|
||||
|
||||
/** 纬度 */
|
||||
@ApiModelProperty("纬度")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/** 经度 */
|
||||
@ApiModelProperty("经度")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/** 浏览量 */
|
||||
@ApiModelProperty("浏览量")
|
||||
private Long view;
|
||||
|
||||
/** 公司id */
|
||||
@ApiModelProperty("公司id")
|
||||
private Long companyId;
|
||||
|
||||
@ApiModelProperty("是否火")
|
||||
private Integer isHot;
|
||||
|
||||
@ApiModelProperty("申请次数")
|
||||
private Integer applyNum;
|
||||
|
||||
@JsonIgnore
|
||||
@ApiModelProperty("公司")
|
||||
private Company company;
|
||||
|
||||
@ApiModelProperty("是否申请 0为否 1为是")
|
||||
private Integer isApply;
|
||||
|
||||
@ApiModelProperty("是否收藏 0为否 1为是")
|
||||
private Integer isCollection;
|
||||
|
||||
@ApiModelProperty("数据来源")
|
||||
private String dataSource;
|
||||
|
||||
@ApiModelProperty("岗位链接")
|
||||
private String jobUrl;
|
||||
|
||||
@JsonIgnore
|
||||
@IndexField(fieldType = FieldType.GEO_POINT)
|
||||
@ApiModelProperty("经纬度")
|
||||
private String latAndLon;
|
||||
|
||||
@JsonIgnore
|
||||
@ApiModelProperty("公司规模")
|
||||
private String scaleDictCode;
|
||||
|
||||
@ApiModelProperty("行业分类")
|
||||
private String industry;
|
||||
|
||||
@ApiModelProperty("岗位分类")
|
||||
private String jobCategory;
|
||||
|
||||
@JsonIgnore
|
||||
@ApiModelProperty("学历要求 对应字典education int类型 es方便查询")
|
||||
private Integer education_int;
|
||||
@JsonIgnore
|
||||
@ApiModelProperty("工作经验要求 对应字典experience int类型 es方便查询")
|
||||
private Integer experience_int;
|
||||
// @JsonIgnore
|
||||
|
||||
@ApiModelProperty("公司规模 int类型 es方便查询")
|
||||
private Integer scale;
|
||||
|
||||
@ApiModelProperty("岗位链接 APP内")
|
||||
private String appJobUrl;
|
||||
|
||||
@ApiModelProperty("公司性质")
|
||||
private String companyNature;
|
||||
|
||||
@ApiModelProperty("是否有视频介绍")
|
||||
private Integer isExplain;
|
||||
|
||||
@ApiModelProperty("视频介绍URL")
|
||||
private String explainUrl;
|
||||
|
||||
@ApiModelProperty("视频封面URL")
|
||||
private String cover;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user