package com.sqx.modules.interviewRecord.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sqx.modules.app.entity.UserEntity;
import com.sqx.modules.firstLogin.entity.HrEntity;
import com.sqx.modules.resumes.entity.Company;
import com.sqx.modules.resumes.entity.PostPush;
import lombok.Data;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author www.javacoder.top
 * @since 2023-02-09
 */
@Data
public class InterviewRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录id
     */
    @TableId(value = "record_id", type = IdType.AUTO)
    private Long recordId;

    /**
     * 面试日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime interviewDateTime;

    /**
     * 公司id
     */
    private Long companyId;
    /**
     * 备注
     */
    private String remarks;

    /**
     * 用户id
     */
    private Long userId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 1待接受 2已同意  3已拒绝 4已过期
     */
    private Integer status;

    /**
     * 岗位id
     */
    private Long postPushId;

    /**
     * 省
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 区/县
     */
    private String county;

    /**
     * 经度
     */
    private BigDecimal lng;

    /**
     * 纬度
     */
    private BigDecimal lat;

    /**
     * 第一次提醒是否已发送。0未发送 1已发送
     */
    private Integer isSendDay;

    /**
     * 第二次提醒是否已发送。0未发送 1已发送
     */
    private Integer isSendHour;

    private Integer postId;
    private Integer type;
    private String address;
    private String  detailTime;
    private Integer onlineType;
    private String  onlineMsg;
    private String  hrName;
    private String  hrPhone;
    private Integer interviewerId;
    private String  interviewResultMsg;
    private Integer interviewResultType;
    private String  interviewRecordType;
    private Integer interviewProcesses;
    private Integer sign;
    private String  signTime;
    /**
     * 详细地址
     */
    private String detailedAddress;
    @TableField(exist = false)
    private Company company;
    @TableField(exist = false)
    private PostPush postPush;
    @TableField(exist = false)
    private UserEntity userEntity;
    @TableField(exist = false)
    private HrEntity hr;


}
