package com.heketai.website.entity.dto;

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 com.heketai.website.entity.JobSearch;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * job_hunter
 * author
 */
@TableName("job_hunter")
@Data
@EqualsAndHashCode(callSuper = true)
public class JobHunterVO extends Model<JobHunterVO> {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="主键id")
    private Integer id;

    /**
     * 招聘信息id
     */
    @ApiModelProperty(value="招聘信息id")
    private Integer searchId;

    /**
     * 姓名
     */
    @ApiModelProperty(value="姓名")
    private String userName;

    /**
     * 电话
     */
    @ApiModelProperty(value="电话")
    private String phoneNumber;

    /**
     * 邮箱
     */
    @ApiModelProperty(value="邮箱")
    private String mail;

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


    private List<JobSearch> jobSearchList;


    private static final long serialVersionUID = 1L;


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