package com.heketai.website.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * job_search
 *
 *  author
 */
@TableName("job_search")
@Data
@EqualsAndHashCode(callSuper = true)
public class JobSearch extends Model<JobSearch> {

    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Integer id;

    /**
     * 职位名称
     */
    @ApiModelProperty(value = "职位名称")
    private String jobName;

    /**
     * 薪资范围
     */
    @ApiModelProperty(value = "薪资范围")
    private String salary;

    /**
     * 岗位职责
     */
    @ApiModelProperty(value = "岗位职责")
    private String jobResponsibilities;

    /**
     * 岗位要求
     */
    @ApiModelProperty(value = "岗位要求")
    private String jobRequirements;

    /**
     * 工作地点
     */
    @ApiModelProperty(value = "工作地点")
    private String address;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createName;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")

    private String updateName;

    /**
     * 接收邮箱
     */
    @ApiModelProperty(value = "接收邮箱")
    private String acceptMail;

    @ApiModelProperty(value = "职位招聘人数")
    private Integer personNumber;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}